• 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: iOS https request via cellular?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iOS https request via cellular? (From: Howard Shere <email@hidden>)
 >Re: iOS https request via cellular? (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: iOS https request via cellular? (From: Howard Shere <email@hidden>)
 >Re: iOS https request via cellular? (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: iOS https request via cellular? (From: Howard Shere <email@hidden>)

  • Prev by Date: Re: iOS https request via cellular?
  • Next by Date: Re: iOS https request via cellular?
  • Previous by thread: Re: iOS https request via cellular?
  • Next by thread: Re: iOS https request via cellular?
  • Index(es):
    • Date
    • Thread