• 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: IP of a connected Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IP of a connected Mac


  • Subject: Re: IP of a connected Mac
  • From: Justin Walker <email@hidden>
  • Date: Mon, 6 Jan 2003 11:37:25 -0800

On Monday, Jan 6, 2003, at 11:23 US/Pacific, Smith Kennedy wrote:

That's true, and it is unfortunate that the code snippet I threw out there won't return the "default" interface. Seems like a logical thing for that method to return, but the documentation says it will be "an arbitrary Internet address of the receiver".

It's hard to define the default interface. There really is no such thing. The best that can be done (I think) is to select the interface pointed to by the default route. That may not be the one desired, of course, wherein lies the rub.

There really needs to be a library layer that translates "the pile of interfaces and assigned network addresses" to a list ordered by some set of criteria. Determining that criteria will take some time and thought. The world of multihoming is a fairly new one for most users, and for most developers.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for the Absorption of | Some people have got a
Federal Funds | mental horizon of radius zero
| and call it their point of view
| - David Hilbert
*--------------------------------------*-------------------------------*
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: IP of a connected Mac
      • From: "Peter Sichel" <email@hidden>
    • Re: IP of a connected Mac
      • From: Joshua Graessley <email@hidden>
References: 
 >Re: IP of a connected Mac (From: Smith Kennedy <email@hidden>)

  • Prev by Date: Re: IP of a connected Mac
  • Next by Date: Re: IP of a connected Mac
  • Previous by thread: Re: IP of a connected Mac
  • Next by thread: Re: IP of a connected Mac
  • Index(es):
    • Date
    • Thread