On Fri, 4 Feb 2011, Alan Wolfe wrote:

so i do have a select before my curl_multi_perform with a timeout of 10usecs.

In theory i should be able to even set that to 0 usec's just to poll if there is data ready without even blocking for those 10 usecs.

No, the theory says you should use curl_multi_timeout() to figure out how long timeout to use since libcurl also wants to be called even when nothing happens.

--

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

Reply via email to