• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SystemConfiguration problem with Proxy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SystemConfiguration problem with Proxy


  • Subject: Re: SystemConfiguration problem with Proxy
  • From: Stephane Sudre <email@hidden>
  • Date: Fri, 18 Nov 2005 17:03:23 +0100


On 18 Nov 2005, at 16:20, Allan Nathanson wrote:


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.

OK, it looks like that what I'm observing is due to the fact that Airport is Off (Aiport card is off) when I switch to the Airport Interface in the Pref Pane.


When I switch on the Airport card, the settings are changed.

I was thinking that the settings were only linked to a Network Port configuration being checked or not.

_______________________________________________
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


  • Follow-Ups:
    • Re: SystemConfiguration problem with Proxy
      • From: Allan Nathanson <email@hidden>
References: 
 >SystemConfiguration problem with Proxy (From: Stephane Sudre <email@hidden>)
 >Re: SystemConfiguration problem with Proxy (From: Allan Nathanson <email@hidden>)

  • Prev by Date: Re: SystemConfiguration problem with Proxy
  • Next by Date: Re: SystemConfiguration problem with Proxy
  • Previous by thread: Re: SystemConfiguration problem with Proxy
  • Next by thread: Re: SystemConfiguration problem with Proxy
  • Index(es):
    • Date
    • Thread