I am using curl_multi_wait() + curl_multi_perform() to perform continuous HTTP transfers. (All transfers to a single HOST:PORT) That creates multiple TCP connections. (as it should/can)
Does libcURL multi interface allow user to configure it to restrict to strictly use only one TCP connection across easy handles being added ? If it does, are there any example programs ? If it doesn't, is it inappropriate to just set options via curl_easy_setopt (including CONNECT_ONLY) and get the libcURL socket using CURLINFO_LASTSOCKET and do own send(), recv() instead of curl_easy_perform to avoid blocking call ? -- Thanks Raja Gopal M [email protected] ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
