This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]