Apple just announced that starting in June 2016, apps that don't support IPv6-only networks will be rejected from the App Stores. "If your app uses IPv4-specific APIs or hard-coded IP addresses, you will need to make some changes."
There is some code in PSWebSocketServer.m that constructs an IPv4 sockaddr_in from a hostname, which is then used to bind a listening socket using CFSocket.
I don't know a lot about POSIX networking APIs, so I'm not sure if this code will fail in the default case where there's no hostname given, but I'm pretty sure it will fail if a hostname is given, since it won't be able to resolve to an IPv4 address.
Apple just announced that starting in June 2016, apps that don't support IPv6-only networks will be rejected from the App Stores. "If your app uses IPv4-specific APIs or hard-coded IP addresses, you will need to make some changes."
There is some code in PSWebSocketServer.m that constructs an IPv4
sockaddr_infrom a hostname, which is then used to bind a listening socket using CFSocket.I don't know a lot about POSIX networking APIs, so I'm not sure if this code will fail in the default case where there's no hostname given, but I'm pretty sure it will fail if a hostname is given, since it won't be able to resolve to an IPv4 address.