You use getaddrinfo instead. That is the IPv6 way to handle address literals. 
That way you get the mappings done for you. 

-- 
Mark Andrews

> On 27 Jun 2024, at 23:03, Philip Homburg <pch-v6ops...@u-1.phicoh.com> wrote:
> 
> 
>> 
>> If there is no IPv4 stack then a CLAT is not needed.  Only address
>> mapping is needed.  socket(PF_INET,) should fail with EAFNOSUPPORT.
> 
> How would that work with code that uses inet_pton?

_______________________________________________
DNSOP mailing list -- dnsop@ietf.org
To unsubscribe send an email to dnsop-le...@ietf.org

Reply via email to