[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luasocket - WinSock bug
- From: Diego Nehab <diego@...>
- Date: Tue, 21 Sep 2004 14:01:46 -0400 (EDT)
> 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?