This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: Open sockets non-overlapped?
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