I need a time delay between each cURL call so that one process do not start at exactly the same time of another parallel process. In other words开发者_高级运维, they can run at the same time but not start at the same time.
Is there a way to set some kind of "sleep(2)" on the cURL multi handle?
The multi interface of libcurl process N handles/requests simultaneously. If you need one of the requests to start a bit later, then you can simply add it to the multi interface later!
精彩评论