I am currently working on an application that communicates with an IPv4 node in an IPv6-only network. During DNS resolution for the server node on JIO and T-Mobile networks, I am receiving IPv4 and mapped IPv6 addresses.
In my application, I am using these mapped IPv6 addresses in two different contexts:
- For high-level API calls on the app side, I am using URLSession API (in either Objective-C or Swift).
- For another target(c/c++), I am making low-level socket API calls(bind etc). These calls use the address passed from the app layer.
As node is resolved to IPV4 and mapped IPv6 addresses
My question is: Are low-level Socket APIs(bind etc) compatible with these mapped IPv6 addresses (example 64:ff9b::103.135.122.10)?
Mapped IPv6 with Well know perfix(64:ff9b)
Please provide the document/rfc reference for the same.
Any guidance or resources on this topic would be greatly appreciated.