Re: notifications about new network interfaces
Re: notifications about new network interfaces
- Subject: Re: notifications about new network interfaces
- From: Pascal Pochet <email@hidden>
- Date: Fri, 2 Dec 2005 14:35:13 +0100
See
SCNetworkReachabilitySetCallback
SCNetworkReachabilityScheduleWithRunLoop
in
#import <SystemConfiguration/SystemConfiguration.h>
Pascal Pochet
email@hidden
----------------------------------
PGP
KeyID: 0x208C5DBF
Fingerprint: 9BFB 245C 5BFE 7F1D 64B7 C473 ABB3 4E83 208C 5DBF
Le 01-déc.-05 à 23:19, Hannes Friederich a écrit :
Hello,
I'm developing an application which makes network connections.
Using the NSHost API, I can get the available network addresses. If
there are some changes in the network interface table (such as when
the user selects a new network location), NSHost updates the result.
Is there any way to get notified about such a change? Or exists
there a c API that allows this?
The console log for example logs
CurrentSet updated to FB4D6E9C-45D4-11D9-A204-000D93450B1A
(Location Name)
If the user selects a new location
Regards
Hannes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden