• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sendto using specific network interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sendto using specific network interface


  • Subject: Re: sendto using specific network interface
  • From: Adi Masputra <email@hidden>
  • Date: Tue, 1 Dec 2009 20:16:30 -0800

FYI, this should just work on Snow Leopard.  Unfortunately there is no way to
achieve this on OS X releases prior to Snow Leopard.

Adi

On Nov 29, 2009, at 10:02 PM, Adi Masputra wrote:

> 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
>
> _______________________________________________
> 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

  • Prev by Date: Objective-C Archives and Networking
  • Next by Date: Changing DNS servers temporarily
  • Previous by thread: Objective-C Archives and Networking
  • Next by thread: Changing DNS servers temporarily
  • Index(es):
    • Date
    • Thread