lua-users home
lua-l archive

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

On Nov 3, 2009, at 8:48 PM, Joseph Stewart wrote:

Maybe I don't understand the underlying problem the acceptfd patch
addresses, but if it's simply a matter of getting the file descriptor
from a luasocket object, then you can use the :getfd() function.

That, and build a socket out of a fd, e.g. socket.tcp( fd ). Once a socket can be express solely in term of a fd, serializing it become trivial :))