cURL / Mailing Lists / curl-library / Single Mail


Re: Forcing select on vista

From: Tetetest <>
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,
List admin:
Received on 2011-07-22