Is there anyway I can get a proxy setting by network servies?

Hi.

In objective c API, any way to get a proxy setting for a specific interface or network services?

any way to get a proxy setting for a specific interface or network services?

Proxies aren’t that simple. The correct proxy to use depends on the host you’re connecting to, and the protocol, and the network interface. If you need to do this for a URL request, the weapon of choice is CFNetworkCopyProxiesForURL and then, if necessary, CFNetworkExecuteProxyAutoConfigurationScript. For TCP connections, you can either cons up a URL and run it through the above or do something more limited based on CFNetworkCopySystemProxySettings.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Is there anyway I can get a proxy setting by network servies?
 
 
Q