[corinna-cygwin@cygwin.com: Re: ENOTSOCK errors with cygwin dll 1.3.21 and 1.3.22]

Corinna Vinschen vinschen@redhat.com
Tue May 27 23:44:00 GMT 2003

On Mon, May 26, 2003 at 12:59:45PM -0400, Pierre A. Humblet wrote:
> At 06:45 PM 5/26/2003 +0200, Corinna Vinschen wrote:
> >Question:  Would a working workaround be sufficient as long as we don't
> >quite understand why it fails?
> >
> >What I did is, first fhandler_socket::dup now tries to duplicate the
> >socket by calling WSADuplicateSocket/WSASocket.  If that fails, duplicate
> >the socket using DuplicateHandle.
> >
> >It's ugly but it seems to work:
> That's the best idea I have seen so far. 
> And the debug_printf will make future experimentation easy.

Thanks, I've applied that hack.  I just hope we still find the actual
cause of the problem.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

More information about the Cygwin-developers mailing list