[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luasocket and selecting from files.
- From: Bernd Eggink <monoped@...>
- Date: Wed, 1 Jul 2015 11:28:20 +0000
On 01.07.2015 01:05, Jorge wrote:
I'm trying to use luasocket's select() to read from files, under Linux.
As far as can see, it is possible now trough judicious use of setfd()
(and dirty()?). But I do not see where i can get that fd from (io.* uses
a opaque thing for files).
luaposix has a function fileno(file) wich does this.