IPv6 policy on low level socket API

Hi,


As per this news : https://developer.apple.com/news/?id=05042016a, developers need to add ipv6 only support from June, does this applies to low level POSIX sockets API too ? Which we are using it for real time video streaming and other signaling stuff (we dont use any HTTP transporting but TCP and UDP)

Answered by DTS Engineer in 136008022

There’s no fundamental reason why you can’t support IPv6 is BSD Sockets code. However, this requirement is not about APIs, it’s about user-level functionality. Does your app work if you deploy it on a NAT64 IPv6-only network? If not, that’s something you need to investigate.

You can set up a test IPv6-only networking using the instructions in the docs referenced by the developer news article.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Does your app rely on hard coded IPs?

Accepted Answer

There’s no fundamental reason why you can’t support IPv6 is BSD Sockets code. However, this requirement is not about APIs, it’s about user-level functionality. Does your app work if you deploy it on a NAT64 IPv6-only network? If not, that’s something you need to investigate.

You can set up a test IPv6-only networking using the instructions in the docs referenced by the developer news article.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

>You can set up a test IPv6-only networking


Sounds like a job for the next version of Network Link Conditioner - someone should file a request 😉

Is it right that my app must run well in IPv6-only network on iOS 9 or above, no need on ALL iOS versionn?

Is it right that my app must run well in IPv6-only network on iOS 9 or above, no need on ALL iOS versionn?

I’m going to answer this on your other thread.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
IPv6 policy on low level socket API
 
 
Q