lua-users home
lua-l archive

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


Hi,

Take a look at luasocket/etc/check-links.lua. If
that doesn't inspire your implementation, send me private
e-mail. The idea is that you have to replace socket.protect
with a coroutine-friendly implementation. This is done in
luasocket/etc/dispatch.lua. You also have to redefine the
socket creation function used by LuaSocket to use a version
that yields.

Regards,
Diego