cURL / Mailing Lists / curl-library / Single Mail


Re: Reducing the number of DNS queries in the multi handle.

From: Daniel Stenberg <>
Date: Wed, 26 Nov 2008 13:57:17 +0100 (CET)

On Wed, 26 Nov 2008, Jeff Pohlmeyer wrote:

>> No, there's no dedicated way for this. When data is delivered is pretty
>> much your only way to know I think.
> What about a curl_sockopt_callback, wouldn't that get called right after the
> name resolve (but before the http request)?

Ah, good thinking! Yes that would be a good indicator that the TCP connection
is done and thus the resolve has completed.

Received on 2008-11-26