• 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: Getting the primary interface name ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the primary interface name ?


  • Subject: Re: Getting the primary interface name ?
  • From: Jérome Foucher <email@hidden>
  • Date: Thu, 8 Aug 2002 08:23:14 +0200

On mercredi, ao{ 7, 2002, at 18:13 Europe/Paris, Allan Nathanson wrote:

On Wednesday, August 7, 2002, at 09:36 AM, Jirome Foucher wrote:

How on X, using the System Configuration Framework, and more particularily the SCDynamicStore, can I get the primary interface name (ie en0, ppp0...) ?

I try to use SCDynamicStoreCopyValue, but I don't really see which key to use.....


SCDynamicStoreRef store;
(code removed to save space....)


Thanks. Exactely what I was looking for :o))


p.s. what do you need the primary interface for?

Creating a thread that calls netstat to get the data rate of this particular interface.

Thanks
Jirome
_______________________________________________
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.

References: 
 >Re: Getting the primary interface name ? (From: Allan Nathanson <email@hidden>)

  • Prev by Date: NSRunLoop question
  • Next by Date: Problem in CFSocket
  • Previous by thread: Re: Getting the primary interface name ?
  • Next by thread: No data from endpoint until it's closed?
  • Index(es):
    • Date
    • Thread