Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 10 Apr 2002 17:25:40 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: SSH -R problem Message-ID: <20020410172540.P1127@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <20020410124650 DOT L1127 AT cygbert DOT vinschen DOT de> <20020410142609 DOT GB15612 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020410142609.GB15612@redhat.com> User-Agent: Mutt/1.3.22.1i On Wed, Apr 10, 2002 at 10:26:09AM -0400, Corinna Vinschen wrote: > On Wed, Apr 10, 2002 at 12:46:50PM +0200, Corinna Vinschen wrote: > >On Wed, Apr 10, 2002 at 04:59:51AM -0400, Steve Chew wrote: > >> Thank you for the swift response! Are you saying that the > >> problem is the the Windows 98 Winsock code? Lovely... How would you > > > >It's not restricted to 9x/Me since XP (and W2K) show the same - even > >if slightly different - phenomenon. Looking into the strace shows > >that the socket is nonblocking. I could imagine that a non-blocking > >socket is "listening" when read() is called on it for the first time > >or something like that. Who knows how that's implemented in Winsock? > > It's probably the listen in start_thread_socket in select(). > > The linger value for the dummy socket that gets opened is supposed to > be set to zero, though, to eliminate this kind of thing. The weird thing is, that these listening sockets never go away as long as the application is running, not after 2MSL (4 minutes in Windows) nor after 20 minutes. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/