This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: fhandler_socket::accept() and FIONBIO
- From: Thomas Pfaff <tpfaff at gmx dot net>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 7 Aug 2002 09:53:59 +0200 (Westeuropäische Sommerzeit)
- Subject: Re: fhandler_socket::accept() and FIONBIO
On Wed, 7 Aug 2002, Conrad Scott wrote:
> I've attached a tiny patch to fix the win98 / WSAENOBUFS problem
> reported in
> http://cygwin.com/ml/cygwin-developers/2002-07/msg00167.html
> (amongst other places).
>
> It turns out to be a minor ding in setting the socket back to
> non-blocking in the (blocking) accept call. Quite why this has
> the effect it does on win98, I'll leave to the morning. This
> patch fixes the problem and is obviously the right thing to do:
> the details I'm happy to leave 'til later.
Unfortunately it has worked on NT. Don't know why.
Thomas