fhandler_socket::accept() and FIONBIO

Thomas Pfaff tpfaff@gmx.net
Wed Aug 7 00:54:00 GMT 2002



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



More information about the Cygwin-patches mailing list