What Kind of Network Connection
What Kind of Network Connection
- Subject: What Kind of Network Connection
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 15 May 2007 16:54:05 +0700
I use SCNetworkReachabilitySetCallback to get notified of changes in
the network reachability.
When I get such a notification with flags that indicate that the
network has become accessible, I want to know how the network is
accessed - whether via Build-in Ethernet, Airport, Internal Modem or
whatever.
I guess this information is hidden somewhere in the Dynamic Store and
is accessible via SCDynamicStoreCopyValue. The question is: What is
the correct key?
SCDynamicStoreCopyKeyList( dynamicStoreRef, kSCCompAnyRegex ) gives
only a very short and useless list of:
"Setup:",
"com.apple.DirectoryService.NotifyTypeStandard:DirectoryNodeAdded",
"Plugin:IPConfiguration",
"DirectoryService:PID"
SCDynamicStoreCopyNotifiedKeys just returns an empty array.
So: how to find out how the network is currently accessed? Using 10.4.9.
Gerriet.
_______________________________________________
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