Re: Configure socket used by NSURLConnection?
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