• 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: Connect to two network interfaces simultaneously?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connect to two network interfaces simultaneously?


  • Subject: Re: Connect to two network interfaces simultaneously?
  • From: Timothy Knox <email@hidden>
  • Date: Thu, 21 Sep 2006 18:07:38 -0700
  • Mail-followup-to: "Cocoa-Dev (Apple)" <email@hidden>

Somewhere on Shadow Earth, at Thu, Sep 21, 2006 at 04:50:36PM -0700, Ryan Britton wrote:
> >
> >The network interface doesn't have as much to do with connections
> >as the
> >higher level network protocols. E.g., if you are connecting over
> >TCP/IP, the
> >interface used will depend on which network you are trying to
> >connect to. I
> >am not sure how OS X determines which interface to use when more
> >than one
> >interface connects to the same network (and same transport
> >protocol), or
> >even if that situation is defined.
>
> The order interfaces are tried is configurable in Network
> Preferences.  You just drag and drop interfaces to specify the
> order.  Where and how this is saved I do not know though.

Well, I am not much of a Cocoa hacker, but I have been hacking Unix, Linux, and
BSD professionally for about fifteen years, and (IIRC) you can't specify
directly in the socket setup what interface it uses. You should probably take a
look at route(4) (for non Unix geeks, that means, from the command line, do a
'man 4 route'). That should point you in the right direction. Hope that helps.

--
Timothy Knox <mailto:email@hidden>
"People who are willing to rely on the government to keep them safe
are pretty much standing on Darwin's mat, pounding on the door,
screaming, 'Take me, take me!'"
    -- Carl Jacobs, from alt.sysadmin.recovery
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Connect to two network interfaces simultaneously? (From: Keary Suska <email@hidden>)
 >Re: Connect to two network interfaces simultaneously? (From: Ryan Britton <email@hidden>)

  • Prev by Date: Re: Re: Calling applescript from cocoa application and getting information back
  • Next by Date: NSPopUpButton in a NSView in a NSCell of a NSTableView
  • Previous by thread: Re: Connect to two network interfaces simultaneously?
  • Next by thread: Re: Connect to two network interfaces simultaneously?
  • Index(es):
    • Date
    • Thread