Re: sendto using specific network interface
Re: sendto using specific network interface
- Subject: Re: sendto using specific network interface
- From: Adi Masputra <email@hidden>
- Date: Sun, 29 Nov 2009 22:02:34 -0800
What version of Mac OS X are you using?
Adi
On Nov 29, 2009, at 9:34 PM, Vasavi Mahadev wrote:
>
> Hi,
>
> I am trying to send http request on an interface using Libcurl.
>
> When two interfaces are up,i m supposed to send requests on both the interfaces in parallel.
>
> In curl_easy_setopt api , i m setting the option CURLOPT_INTERFACE with the IP address to which the socket needs to be bound.
>
> When i debug the libcurl source code,i found that two sockets are created and bound to two different specified addresses.
>
> But when i capture the traces in wireshark,both the requests are going on the default interface.
>
> Can anyone tell me how to send requests on two different interfaces in parallel.
>
> Thanks in advance.
>
> -Vasavi
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Macnetworkprog mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden