Re: connecting through proxy
Re: connecting through proxy
- Subject: Re: connecting through proxy
- From: Quinn <email@hidden>
- Date: Tue, 7 Nov 2006 08:17:18 +0000
At 5:41 +0000 7/11/06, Basavaraj Pujar wrote:
I am sending HTTP requests to proxy server and asking
to open port programmatically and it is working. I
thought there might be some API that will do all these
work automatically.
There is, and it's called CFNetwork. However, it doesn't tie in
directly to the sockets programming model (which is the lowest level
networking API on the platform). If you're using sockets, you have
to do the work to support proxies. If that doesn't sound like fun
(and trust me, it's not), use a higher-level API, like CFNetwork.
<http://developer.apple.com/documentation/Networking/Conceptual/CFNetwork/index.html>
Safari uses CFNetwork to do its networking, so if Safari your
CFNetwork code should work too.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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