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 <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to