• 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: connecting through proxy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: connecting through proxy
      • From: Basavaraj Pujar <email@hidden>
References: 
 >Re: connecting through proxy (From: Basavaraj Pujar <email@hidden>)

  • Prev by Date: Re: connecting through proxy
  • Next by Date: Re: connecting through proxy
  • Previous by thread: Re: connecting through proxy
  • Next by thread: Re: connecting through proxy
  • Index(es):
    • Date
    • Thread