Hi,

> But I hope that each visit can be done within 5 second.

There are several CURLOPT_*TIMEOUT options that could match. My
reading is that you want the whole transfer to be at most 5 seconds,
in which case CURLOPT_TIMEOUT is your friend. Make sure you read the
documentation (http://curl.haxx.se/libcurl/c/curl_easy_setopt.html)
before using it as there are some caveats and you may prefer another
timeout option.

Hope it helps,
Julien
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to