tech-net archive

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

connect() with O_NONBLOCK and poll()



Is there a know issue on 6.1 that, if you connect() on a socket that has 
O_NONBLOCK set, if the other ends sends a RST, you poll() the socket fd,
you don't get an error returned on getsockopt(SOL_SOCKET, SO_ERROR)?

I have strange problem that could be explained by above not working on 6.1 
(but using select() instead of poll() working) and the issue fixed in 7.1.
However, the two setups are not entirely identical, so the difference may 
not simply be 6.1 vs. 7.1.

Does it ring a bell to someone?


Home | Main Index | Thread Index | Old Index