cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multiple GET on a single connection

From: jose <jjmmes_at_yahoo.es>
Date: Sun, 23 Feb 2003 22:58:27 +0100 (CET)

Thanks.

For the multi interface, is there an easy way to
bypass the sync DNS calls and use glibc getaddrinfo_a
?

Jose

 --- Daniel Stenberg <daniel_at_haxx.se> escribió: > On
Sat, 22 Feb 2003, jose wrote:
>
> > How can I use the Curl library to get the HTTP 1.1
> multiple GET on a single
> > connection ?
>
> Use curl_easy_perform() repeatedly, re-using the
> same curl easy handle, with
> a URL identifying the same site. libcurl will then
> re-use the same connection
> automaticly.
>
> > Also, if I want to download a group of urls with
> their IP address (i.e. no
> > need for DNS lookup), is there an easy way to
> perform multiple downloads
> > asynchronously (in a single thread).
>
> Multiple simultanoues downloads in a single thread
> is only achieved by using
> the multi interface (using IP addresses or names
> make no difference). Read
> more about it here:
>
> http://curl.haxx.se/libcurl/c/libcurl-multi.html
>
> --
> Daniel Stenberg -- curl, cURL, Curl, CURL. Groks
> URLs.
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: SlickEdit Inc.
> Develop an edge.
> The most comprehensive and flexible code editor you
> can use.
> Code faster. C/C++, C#, Java, HTML, XML, many more.
> FREE 30-Day Trial.
> www.slickedit.com/sourceforge
>

___________________________________________________
Yahoo! Móviles
Personaliza tu móvil con tu logo y melodía favorito
en http://moviles.yahoo.es

-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
Received on 2003-02-23