Re: IC settings no longer work?
Re: IC settings no longer work?
- Subject: Re: IC settings no longer work?
- From: Mike Cohen <email@hidden>
- Date: Wed, 5 Mar 2003 13:24:48 -0500
On Wednesday, March 5, 2003, at 12:27 PM, Quinn wrote:
At 17:16 -0500 4/3/03, Mike Cohen wrote:
I'm using the Internet Config APIs to obtain the proxy settings,
which seemed to work on all of my systems.
However, it doesn't work on my new 12" PowerBook G4 on which I've
never run Internet Explorer. I also see that IC isn't returning the
web browser & email clients, even though they're set in the internet
preference panel. Any idea why it isn't working, or will I have to
rewrite my code to use SCF, which seem a lot more complex?
I also found when I ran IE for the first time it won't let me enter a
proxy server and it didn't use the settings I entered in the network
preference panel.
First up, I don't agree that using SCF is complex. There's a simple
example of doing this in DTS Q&A 1234 (love that number!).
<http://developer.apple.com/qa/qa2001/qa1234.html>
Having said that, IC and SCF are both valid ways of getting this
information.
Second, I believe that the problem you're seeing relates to multiple
interfaces. IC returns the values returned by
SCDynamicStoreCopyProxies. That routine returns the values from the
SC dynamic store (for the key "State:/Network/Global/Proxies"). That
value is maintained by the IP configd plug-in based on the first
active IP service (where the service order is determined by the order
in the "Network Port Configurations" section of the Network
preferences panel. Are you sure you're setting the proxies settings
on the right interface?
Yes, I have Airport listed as the first interface and that's where I
entered the proxy settings.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.