[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaSocket: asynchronous connect on Windows not behaving properly
- From: Jerome Vuarand <jerome.vuarand@...>
- Date: Fri, 13 Nov 2009 14:27:29 +0100
2009/11/12 Jerome Vuarand <jerome.vuarand@gmail.com>:
> It seems that on Linux, the socket is signaled as writable by select
> whether it is connected or connection failed. In both cases exceptfds
> is returned empty. So the following script still exhibits different
> behaviour on Windows and Linux :
Some food for thoughts : I've been given the following links, that
show that non-blocking connect result detection is not trivial.
http://cr.yp.to/docs/connect.html
The windows behaviour now looks much simpler.