cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Forcing select on vista

From: Tetetest <tetetest_at_rambler.ru>
Date: Fri, 22 Jul 2011 09:44:34 +0400

Hello Ola,

Friday, July 22, 2011, 2:04:20 AM, you wrote:

OM> By default libcurl prefers WSAPoll instead of select. I have a case
OM> where that's the wrong thing to do and so I *must* use select. I
OM> thought forcing select would be a nice option (and requisite in my
OM> case) and this is the patch:

There is another way to force select instead of WSAPoll:
define _WIN32_WINNT = 0x0500 before building libcurl.

The benefit is that you do not need to patch libcurl.

-- 
Best regards,
 Tetetest                            mailto:tetetest_at_rambler.ru
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-22