Re: SystemConfiguration problem with Proxy
Re: SystemConfiguration problem with Proxy
- Subject: Re: SystemConfiguration problem with Proxy
- From: Allan Nathanson <email@hidden>
- Date: Fri, 18 Nov 2005 10:20:39 -0500
On Nov 18, 2005, at 8:04 AM, Stephane Sudre wrote:
I'm seeing a problem with the way Proxy configuration are obtained
via SystemConfiguration.
Let's say I have 2 Interfaces: Built-in Ethernet and Airport. Built-
in Ethernet is the currently active interface.
When I register to be notified when the Proxy configuration is
changed, I do this:
...
This is working pretty fine as long as the Built-in Ethernet
interface is the active one.
Now in System Preferences > Network, I turn off the Built-in
Ethernet interface and turn on the Airport one.
I'm notified that the Proxy configuration is now nil.
But I am never notified for the Proxy configuration of the Airport
Interface.
Does the AirPort "service" have a proxy configuration. The [Panther]
SCDynamicStoreCopyProxies() API will return NULL if no configuration
has been specified for the primary service.
Is there a solution to be notified for every modification of the
_currently active_ Interface Proxy settings?
If the proxy configuration for the primary service is saved then you
should receive a notification.
Or is there a bug regarding this matter (Mac OS X 10.3.9)?
Not that I'm aware of.
- Allan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden