This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]