[PATCH] Re: IP_MULTICAST_IF et all / Winsock[2] value conflict

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Oct 18 19:15:00 GMT 2005

On Oct 18 13:56, Brian Ford wrote:
> On Tue, 18 Oct 2005, Corinna Vinschen wrote:
> > What I can comment about is what happened when loading set/getsockopt.
> > Regardless of being dynamically loaded from wsock32 or ws2_32, they
> > will always be the Winsock2 version on a Winsock2 system.  wsock32 is
> > more or less just a stub which redirects function calls to ws2_32.dll.
> Agreed, but I was under the impression that the wsock32 stub should have
> been doing the translation for us.  Otherwise, an application designed
> to work with wsock32 would be using incorrect values.

Not really.  Just read the MSDN man page of WSAStartup and there will
be light :-)  (well, sort of.  The description is a bit... convoluted)


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

More information about the Cygwin-patches mailing list