curl-library
Re: libcurl 7.10.5 and winsock
From: Jörg Müller-Tolk <curl_at_mueller-tolk.de>
Date: Thu, 25 Sep 2003 16:21:54 +0200
Date: Thu, 25 Sep 2003 16:21:54 +0200
Jörg Müller-Tolk wrote
> Look into easy.c
> static CURLcode win32_init(void);
>
> You will find the line
> wVersionRequested = MAKEWORD(2, 0);
>
> This is what you have to change
Sure you have to alter the stuff below as well
if ( LOBYTE( wsaData.wVersion ) != 2 ||
HIBYTE( wsaData.wVersion ) != 0 ) {
Might anything inside Curl break when using versions below 2.0?
otherwise I think it would be fine to have a patch that tries lower
versions in case WSAStartup with 2.0 fails
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-25