On Wed, Dec 12, 2012 at 09:55:43AM -0500, Rich Felker wrote: > Really, you should be using the modern > interface, getaddrinfo, and forgetting you ever heard of > gethostbyname, since we're almost in 2013 and gethostbyname, by > design, cannot support IPv6.
Obligatory rant against getaddrinfo() : http://lists.busybox.net/pipermail/busybox/2012-July/078123.html (The next two messages in the thread are small errata.) Conclusion : if you need to perform DNS resolution, as opposed to NSS resolution, forget you ever heard about getaddrinfo() as well, and use a real DNS client library. :P -- Laurent _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
