On 21 Mar 2019, at 13:45, Howard Shere <howard.sh...@synchronoss.com> 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 (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to arch...@mail-archive.com