Re: Getting the primary interface name ?
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.