On Wed, Aug 17, 2011 at 2:52 AM, Yoav Einav wrote:

> I would like to run multiple session, whereas in each session (for all
> requests)  I'd like to bind the socket to a different source IP.

> Assuming of course my machine has a range of IPs.

It sounds like you want CURLOPT_INTERFACE:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTINTERFACE

 - Jeff

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

Reply via email to