cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to use "select" instead of the default "poll"

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 20 Feb 2006 22:56:05 +0100 (CET)

On Mon, 20 Feb 2006, Brown, John (ISS Atlanta) wrote:

> I'd like to run a test with curl using 'select' instead of the default
> 'poll' method. Is there an easy way to do this as part of running the
> configure script?

No. poll() is generally considered to be the better way of these two, so we
use that if it seems to work fine.

> Currently, I'm running the configure script, then hand-editing the resulting
> config.h files (in both the src and lib directories) and commenting out the
> defines for HAVE_POLL and HAVE_POLL_FINE.

That'll work.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-02-20