Hello. I am evaluating Device Sync for adoption in iOS app, and from what I can tell the implementation is based on BSD socket, the least recommended option on Apple platforms.
Can someone confirm this is the case, and point to discussion/article/source how the issues of BSD socket on iOS are addressed, listed in TN3151:
- no support for on-demand connections, such as VPN On Demand
- connect-by-name semantics, Happy Eyeballs
RFC 8305
- support both IPv4 and IPv6. Test on an IPv6-only network.
- use the system DNS resolver,
getaddrinfo
- add your own TLS implementation
- once you’ve established a connection, use
SCNetworkReachabilityCreateWithAddressPair
to monitor its viability.
Thank you.