Open sockets non-overlapped?

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jun 13 15:52:00 GMT 2006


On Jun 13 11:47, Lev Bishop wrote:
> On 6/13/06, Lev Bishop  wrote:
> >On 6/13/06, Corinna Vinschen wrote:
> >> On Jun 12 22:59, Lev Bishop wrote:
> >> > Ok. I just did setup sshd, and I do see those issues, or something
> >> > similar (pressing the return key doesn't seem to help with the
> >> > interactive logon for me). I wonder what sshd does that everything
> >> > else i was using doesn't do.
> >>
> >> Non-blocking sockets?  User context switching?
> >
> >Possibly. But my money right now is on fork()ing.
> 
> It seems it's hanging in fhandler_socket::close(), when the child
> process closes the listening socket.

Hanging?  Or looping endlessly with WSAEWOULDBLOCK?  Any change when not
setting the linger option, maybe?


Corinna

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



More information about the Cygwin-patches mailing list