lua-users home
lua-l archive

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


The reference documentation for luasocket states the following regarding the 
socket module:

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. 

Does anybody know if there is a workaround for this bug? For instance, would 
it be possible to disregard the possible "write error" after trying to write 
to a non-blocking socket that was falsely woken up "ready for sending" due to 
this bug?

Thanks,

Marius K.