cURL / Mailing Lists / curl-library / Single Mail


Re: binding source ip

From: Jeff Pohlmeyer <>
Date: Wed, 17 Aug 2011 03:34:50 -0500

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:

 - Jeff

List admin:
Received on 2011-08-17