Reputation: 21
I am implementing my application to be compatible for IPv6-only networks. Is there any way to handle the hardcoded IPv4 address literals (such as 172.1.2.3) in iOS8.x ?
As per the apple documentation,
- In iOS 9 and later, NSURLSession and CFNetwork automatically synthesizes IPv6 addresses from IPv4 literals locally on devices operating on DNS64/NAT64 networks.
- The ability to synthesize IPv6 addresses was added to getaddrinfo() in iOS 9.2.
But there is no mention of how to handle address literals for iOS8.x.
Upvotes: 2
Views: 2333
Reputation: 9978
Correct. Users using ancient iOS versions on modern networks connecting to legacy services will have connectivity problems. The best solutions are to:
If you want to run a good service and write a good App, do both of the above.
Upvotes: 1