lua-users home
lua-l archive

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


> 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?

This is what I do internally. Is it not? It becomes a busy wait.
How is this bug showing up for you?