lua-users home
lua-l archive

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


In short: How can I be notified of a new socket?
     Or: How can I enumerate all existing sockets
         which are read interested or write interested?

You can do everything from Lua, but it is a little
tricky. You can wrap the socket creation functions to
overload any functionality you might want. There is an
example in the etc/ directory that does that: dispatch.lua.