This is the mail archive of the cygwin-patches 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: [PATCH] Re: IP_MULTICAST_IF et all / Winsock[2] value conflict


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

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


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