lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi everyone,

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).
Is there any working code out there doing this?