cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Asynch DNS (codemastr)

From: Jörg Müller-Tolk <curl_at_mueller-tolk.de>
Date: Mon, 17 Mar 2003 18:00:03 +0100

>
>
>The multi interface is great for allowing asynchronous sockets, but what
>about DNS?
>...
>Meaning if I do the DNS before I ever even call libcurl and pass the
>IP as part of the URL, will it allow me to fully control the DNS?
>
If the DNS record contains several IP addresses Curl will not only use
the first, but the rest as fallback.
In your case you will have to call curl_easy_perform() with an altered url.

sunny regards
Joerg M-T

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Received on 2003-03-17