cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Forcing select on vista

From: Ola Mork <ola_at_agoragames.com>
Date: Fri, 22 Jul 2011 14:25:27 -0400

On Fri, Jul 22, 2011 at 12:32 AM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Thu, Jul 21, 2011 at 06:04:20PM -0400, Ola Mork wrote:
>> By default libcurl prefers WSAPoll instead of select. I have a case
>> where that's the wrong thing to do and so I *must* use select. I
>> thought forcing select would be a nice option (and requisite in my
>> case) and this is the patch:
>
> What sort of case would require this, and can it be automatically determined
> somehow instead?  In any case, the big block of #ifdefs at the head of
> select.h looks to me like it should probably go into setup.h instead.

I can't link against the standard winsock libraries.

Alternatively, one could change the behavior to use select if
HAVE_SELECT is 1 (or greater than 0) instead of defaulting to poll.

- Ola

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-22