On Thu, 2009-05-07 at 19:44 -0400, Girish Moodalbail wrote: > Everything looks fine, however with the above fix getaddrinfo() fails > for literal addresses for which name service lookup fails. For ex: > link-local IPv6 addresses > > bash-3.2# ./getaddr fe80::203:baff:fe94:2f56 > getaddrinfo: fe80::203:baff:fe94:2f56: node name or service name not known > > So things which used to work before like below
I don't believe that the documentation implies that the function can fail if it's unable to obtain the canonical name. In this case, why not simply use the literal address as before? -Seb _______________________________________________ networking-discuss mailing list [email protected]
