On 3/8/2016 9:39 AM, Daniel Stenberg wrote:
On Tue, 8 Mar 2016, Boutin Maël wrote:

Currently i call multi_perform when there are data to be sent. How can i
obtain the send status ? By performing a select on the handles ?

Yes, you would call select on the file descriptors with the actions libcurl told you, and if one of those signal readiness you call curl_multi_perform().

Do you mean you plan on leaving open ~1000 connections concurrently? Wouldn't curl_multi_wait [1] be a safer choice instead of curl_multi_fdset here?


[1]: https://curl.haxx.se/libcurl/c/curl_multi_wait.html
[2]: https://github.com/curl/curl/blob/curl-7_47_1/docs/examples/multi-single.c#L78-L98

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to