|
LuaSocket to expose the `fd` field of the socket objects and to add aThe way I dealt with threading+sockets in one case was to modify
`socket.fromfd()` function. Then you can pass the fd (an integer) from
one thread to another, and the receiving thread can create its own
socket object.