lua-users home
lua-l archive

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


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.