• 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: Configure socket used by NSURLConnection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configure socket used by NSURLConnection?


  • Subject: Re: Configure socket used by NSURLConnection?
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 29 Jul 2014 09:56:11 -0700


On Jul 29, 2014, at 8:31 AM, Jeffrey Walton <email@hidden> wrote:

Is it possible to retrieve the socket that will be used with a NSURLConnection?
If its not possible, then is it possible to create/configure a socket and then tell NSURLConnection to use it?

No and no. NSURLConnection gives you no access at all to the sockets being used. (There’s no one-to-one mapping between sockets and NSURLConnection objects, anyway. A socket usually gets reused for multiple requests, and a single request may use multiple sockets if there are redirects to other hosts.)

Or is there another way to bridge the high level and low level?

Not that I know of. What are you trying to accomplish, exactly?

—Jens
 _______________________________________________
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: Configure socket used by NSURLConnection?
      • From: Jeffrey Walton <email@hidden>
References: 
 >Configure socket used by NSURLConnection? (From: Jeffrey Walton <email@hidden>)

  • Prev by Date: Configure socket used by NSURLConnection?
  • Next by Date: Re: Configure socket used by NSURLConnection?
  • Previous by thread: Configure socket used by NSURLConnection?
  • Next by thread: Re: Configure socket used by NSURLConnection?
  • Index(es):
    • Date
    • Thread