[ntp:questions] Testing IPv6 code

Robert Scott no-one at notreal.invalid
Tue Jan 17 15:25:17 UTC 2017


Perhaps the problem is with my understanding of socket coding.  I
found "time-d.nist.gov" that is supposed to have an IPv6 address of
2610:20:6F15:15::27, but when I get its address info, it always says
IPv4, 129:6:15:27.  I see the 15 and 27, so there is some translation
going on that I don't understand.  My getaddrinfo is apparently
returning the IPv4 mapped equivalent.  Does anyone know how to force
just IPv6 addresses?

-Robert Scott
 Hopkins, MN



More information about the questions mailing list