Re: iOS https request via cellular?
Re: iOS https request via cellular?
- Subject: Re: iOS https request via cellular?
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Thu, 21 Mar 2019 14:18:07 +0000
On 21 Mar 2019, at 13:45, Howard Shere <email@hidden> wrote:
> I will file an enhancement request.
Thanks.
> But that won’t happen for a while …
Agreed.
> I only need a few simple requests. I should be able to find the right
> interface, bind to a socket and send my requests that way…
Correct. I’ve done this before and it works just fine. My main piece of
advice is that it’s much better if you use Network framework for this. You run
into two problems doing this with BSD Sockets:
* You have to do the DNS resolution and connect as separate steps, and it’s
hard to that properly in the general case.
* You have to reliably identify the WWAN interface, and there’s no supported
way to do that on iOS.
With Network framework you can use connect-by-name support while explicitly
requiring WWAN.
Share and Enjoy
--
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