X-Spam-Check-By: sourceware.org Date: Sat, 28 Jan 2006 09:43:32 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.5.19-3 parent socket binding remains after closing when spawning child process Message-ID: <20060128084332.GA15572@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20060123151810 DOT GB8552 AT calimero DOT vinschen DOT de> <20060127194834 DOT 13739 DOT qmail AT web30609 DOT mail DOT mud DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060127194834.13739.qmail@web30609.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/