Re: Dup'd sockets lose error information

2014-05-05 Thread Corinna Vinschen
qq qq? Ping? On Apr 24 16:14, Corinna Vinschen wrote: On Apr 23 17:38, Corinna Vinschen wrote: On Apr 23 16:25, qq qq wrote: The following code is a simplified app that was used to test-connect to local ports 55000+ (none of which were actually listening) and received false-positive

Re: Dup'd sockets lose error information

2014-04-24 Thread Corinna Vinschen
On Apr 23 17:38, Corinna Vinschen wrote: On Apr 23 16:25, qq qq wrote: The following code is a simplified app that was used to test-connect to local ports 55000+ (none of which were actually listening) and received false-positive connected results because Cygwin's dup() for socket causes

Dup'd sockets lose error information

2014-04-23 Thread qq qq
The following code is a simplified app that was used to test-connect to local ports 55000+ (none of which were actually listening) and received false-positive connected results because Cygwin's dup() for socket causes SO_ERROR to be lost.  Since FD_SETSIZE is only 64 on Cygwin, the app uses

Re: Dup'd sockets lose error information

2014-04-23 Thread Corinna Vinschen
On Apr 23 16:25, qq qq wrote: The following code is a simplified app that was used to test-connect to local ports 55000+ (none of which were actually listening) and received false-positive connected results because Cygwin's dup() for socket causes SO_ERROR to be lost.  Since FD_SETSIZE is only