Corinna Vinschen cygwin-patches@cygwin.com
Tue Mar 11 15:20:00 GMT 2003

On Tue, Mar 11, 2003 at 09:43:35AM -0500, Pierre A. Humblet wrote:
> Corinna Vinschen wrote:
> >
> > I'm seriously concidering to remove all the fixup_before/fixup_after
> > from fhandler_socket::dup() and just call fhandler_base::dup() on
> > NT systems.
> Corinna,
> Isn't that just what you do now?

I created the patch after sending the mail.

> Just out of curiosity, why hasn't this always been done? I blindly thought
> it couldn't but I have just looked up MSDN and there is no mention of any 
> restriction of DuplicateHandle with sockets, on any platform. 

Using WinSock2 should workaround the problem with the order in which sockets
are closed on 9x.


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

More information about the Cygwin-patches mailing list