I am confused by lots of things, including that the same constants like
AF_INET6 are present with different values in `lib/nativesockets.nim` vs
`lib/posix/posix_linux_amd64_consts.nim`.
The edited above code now uses posix's AF_INET6 value (10.cint) cast to
nativesockets Domain enum for getAddrInfo. It's no longer looking the
gibberish, but something is still off. Current output:
getIpv6_execCmd: 2001:200:dff:fff1:216:3eff:feb1:44d7
getIpv6_getaddressinfo: 50::2001:200:dff:fff1:21650:cbb2:8dc2::102
Run
At least it seems to contain a part of the correct answer...