• 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: Discovering the default gateway address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Discovering the default gateway address


  • Subject: Re: Discovering the default gateway address
  • From: "R. Tyler Ballance" <email@hidden>
  • Date: Sun, 4 Feb 2007 05:04:31 -0600


On Feb 4, 2007, at 4:55 AM, Finlay Dobbie wrote:

On 04/02/07, R. Tyler Ballance <email@hidden> wrote:
So the best chance I suppose is to rely on reading the keys from the
proper entry in the System Configuration framework? (it seems the
right key is: State:/Network/Global/IPv4)

This is acceptable I suppose, but I was hoping for a more
programmatic means of doing this

The System Configuration framework is a programmatic API...

I meant to word that with the connotation of a programmatic API for reading say, the actual routing tables that the underlying kernel uses to route, similar to the sysctl(3) options available, since I'm not 100% clear on how tied together the System Configuration framework is to the unix underpinnings of sysct(3). I was kind of hoping for a [[NSHost currentHost] defaultRoute]; or something to be honest ;)



Cheers

R. Tyler Ballance: Lead Mac Developer at bleep. software
contact: email@hidden | jabber: email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Discovering the default gateway address
      • From: "Finlay Dobbie" <email@hidden>
References: 
 >Discovering the default gateway address (From: "R. Tyler Ballance" <email@hidden>)
 >Re: Discovering the default gateway address (From: Kay Roepke <email@hidden>)
 >Re: Discovering the default gateway address (From: "R. Tyler Ballance" <email@hidden>)
 >Re: Discovering the default gateway address (From: "Finlay Dobbie" <email@hidden>)

  • Prev by Date: Re: Discovering the default gateway address
  • Next by Date: Re: Discovering the default gateway address
  • Previous by thread: Re: Discovering the default gateway address
  • Next by thread: Re: Discovering the default gateway address
  • Index(es):
    • Date
    • Thread