This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: fhandler_socket::dup
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?
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.
Googling didn't enlighten me either.
Pierre