This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: fhandler_socket::dup
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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin at cygwin dot com
Red Hat, Inc.