lua-users home
lua-l archive

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

A lot of discussion lately about blocking vs non-blocking I/O, epoll(), 
kqueue(), select(), FD_SETSIZE and more. Very helpful.

Assuming that one is happy with 100s of connections at a time, then it 
seems than plain old Lua coroutines with plain old LuaSocket 2 are just 
the ticket.

But...Diego, you mention the following in the docs:

>Important note: a known bug in WinSock causes select to fail on
>non-blocking TCP sockets. The function may return a socket as
>writable even though the socket is not ready for sending.

This still true in "recent" Windowses, e.g. 2000 SP4, 2003, XP SP1/2?