[arch-general] getaddrinfo

clemens fischer ino-news at spotteswoode.dnsalias.org
Fri Dec 9 19:00:55 EST 2011


Myra Nelson wrote:

> After some more searching, work, and this email from the libc help
> list [ http://sourceware.org/ml/libc-help/2011-12/msg00000.html
> ] , I've attempted the code from Ulrich Dreppers page at
> http://www.akkadia.org/drepper/userapi-ipv6.html . The newer version
> of the code (on the right ) which is supposed to be protocol
> independent returns getaddrinfo: Servname not supported for
> ai_socktype, while the older version ( on the left ) seg faults.

Also try another, more practical program (which works here):

<url:
http://linux-hacks.blogspot.com/2008/04/default-address-selection-part-1.html>

(linked from <url:http://www.wtfm.org/ip6to4>)


clemens



More information about the arch-general mailing list