-
Re: Does ATS care about IP addresses?
eskimo Nov 7, 2016 2:35 AM (in response to SuperMacGuy)It’s hard to answer this in the general case. For the specific example you posted, where you’re trying to connect to an IP address on the local network, you can opt out of ATS in that case using
NSAllowsLocalNetworking
.If you have other cases you care about, please post the details.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: Does ATS care about IP addresses?
thibault2 Nov 18, 2016 10:13 AM (in response to eskimo)I need to communicate also to a local device using IP.
I have set NSAllowsLocalNetworking. It works fine in http.
But it should work also in TLS 1.1 (https).
However it fails with error -9801 with kCFStreamErrorDomainKey=3
The connection is working fine with only NSArbitraryLoad=YES
-
Re: Does ATS care about IP addresses?
eskimo Nov 21, 2016 2:23 AM (in response to thibault2)I’ve responded via the other thread you posted to.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
-