This is a discussion on Re: Cross compile OpenSSL in Linux using MinGW32 - Openssl ; On 2006.10.20 at 11:49:39 +0200, Corinna Vinschen wrote: > > I'm not an expert on Win32 tcpip history and cannot tell whether it is > > problem of my mingw32 runtime headers or something also. > > ws2tcpip.h is incompatible ...
On 2006.10.20 at 11:49:39 +0200, Corinna Vinschen wrote:
> > I'm not an expert on Win32 tcpip history and cannot tell whether it is
> > problem of my mingw32 runtime headers or something also.
>
> ws2tcpip.h is incompatible with winsock.h since winsock.h is only meant
> for supporting old Winsock 1.1 applications. A "modern" Winsock 2
> application should include winsock2.h and ws2tcpip.h.
So, it is line 455 in e_os.h which is offending, not line 278?
> And here's another problem. The functions getaddrinfo, getnameinfo and
> freeaddrinfo are only exported by ws2_32.dll beginning with Windows XP.
> There's an earlier implementation for Windows 2000 which is exported by
> a DLL called wship6.dll. There's no v6 for 9x or NT4. Consequentially,
> on native Windows (not Cygwin) the functions should not be linked
> against, but instead corresponding function pointers should be loaded at
> runtime from either ws2_32.dll or wship6.dll using
> LoadLibrary/GetProcAddress.
So, use IPV6 on native windows requires considerable changes anyway?
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org