title: How to handle IPv4 Address literals for IPv6-only network in iOS8
body: <p>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 ?</p>
  
  <p>As per the <a href="https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html" rel="nofollow">apple documentation</a>,</p>
  
  <p><em>- In iOS 9 and later, NSURLSession and CFNetwork automatically synthesizes IPv6 addresses from IPv4 literals locally on devices operating on DNS64/NAT64 networks.</em></p>
  
  <p><em>- The ability to synthesize IPv6 addresses was added to getaddrinfo() in iOS 9.2.</em></p>
  
  <p>But there is no mention of how to handle address literals for <strong>iOS8.x</strong>.</p>