Skip navigation.
 
mlWatching System Configuration
FROM : Gerriet M. Denkmann
DATE : Thu Jul 20 11:59:19 2006

The documentation </Developer/ADC\ Reference\ Library/documentation/
Networking/Conceptual/SystemConfigFrameworks/SC_UnderstandSchema/
chapter_4_section_4.html> in the paragraph "Getting Notifications" says:

"For example, if your application needs to be aware of changes to 
network proxy settings while it runs, you should watch the dynamic 
store key associated with the network proxy settings."

But is failes to mention how this "watching" is done. The context 
seems to imply that there is some other method than polling. But how?

More specific: I want to get notified when the service (inside 
SCNetworkSetCopyCurrent() ) with interface type 
kSCValNetInterfaceTypeEthernet changes its kSCPropNetIPv4ConfigMethod 
in the kSCEntNetIPv4 protocol.

This change can be done via System Configuration -> Network -> Build-
in Ethernet -> TCP/IP -> Configure IPv4: pop-up button - or by: Apple 
Menu -> Location if the new selected location has a different value 
for Configure IPv4.

Kind regards,

Gerriet.

Related mailsAuthorDate
mlWatching System Configuration Gerriet M. Denkman… Jul 20, 11:59
mlRe: Watching System Configuration Adam Knight Jul 21, 06:56
mlRe: Watching System Configuration Adam Knight Jul 21, 07:00
mlRe: Watching System Configuration Gerriet M. Denkman… Jul 21, 14:30