1.5.19-3 parent socket binding remains after closing when spawning child process

Corinna Vinschen corinna-cygwin@cygwin.com
Sat Jan 28 08:52:00 GMT 2006


On Jan 27 14:48, Martin wrote:
> I tried snapshot cygwin-inst-20060127.tar.bz2.  This testcase still
> fails for me.  I could be doing something wrong.  Please, give this
> another try.  Your efforts are appreciated.

Add a sleep (1) to your server process, at some point before calling
connect.  The server side in your test application connects to the
socket before the exec'ed child has started up.  In this period of
time, the listening socket still exists.  That's a simple race and
there's nothing I can do against that.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list