cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: curl_multi_fdset always returns -1 for maxfd

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Nov 2014 09:41:43 +0100 (CET)

On Wed, 12 Nov 2014, Vishakha Vaidya wrote:

> When I debugged the libcurl code I saw that on mac async is false while on
> win its true.

In your particular build for the Mac, yes. You can build your mac version to
use async name resolves too, if you like. Using the threaded or c-ares
resolver backends.

> Indicates the asynchronous name resolution is not working?

Indicating it was built without asynch name resolving support, yes.

> How do I turn off the async mode?

It is a build-time decision, you can't switch it on/off during run-time.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-13