Re: Proxy configuration on OS X
Re: Proxy configuration on OS X
- Subject: Re: Proxy configuration on OS X
- From: Frederick Cheung <email@hidden>
- Date: Wed, 31 Mar 2004 12:54:44 +0200
On 31 Mar 2004, at 08:01, email@hidden wrote:
Reply-To: <email@hidden>
From: "Wade Williams \(wwilliam\)" <email@hidden>
To: <email@hidden>
Subject: Proxy configuration on OS X
Date: Tue, 30 Mar 2004 15:14:42 -0600
Never having dealt much with proxies before (as either a user or a
programmer), I've got a couple of newbie questions.
1) I assume the network-port based proxy configuration dialog in the
network preference pane is for configuring proxy support for those apps
that use a higher-level API, such as CFNetwork or the older URLAccess?
2) I don't see any way however, that those settings could be applied to
a plain old sockets application. Therefore, is it correct that such an
application is responsible for presenting its own dialog to the user to
configure their proxy settings, and then redirecting say, all HTTP
traffic to the proxy server?
You can use InternetConfig to get the proxy settings, or you can use
SCDynamicStoreCopyProxies, which returns a CFDictionary containing the
various proxy settings.
The keys for this dictionary are in
SystemConfiguration/SCSchemaDefinitions.h
Fred
_______________________________________________
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.