Hacker News new | ask | show | jobs
by mkj 38 days ago
getaddrinfo was added after ipv6. Software had to be rewritten to use getaddrinfo.

Prior to that programs used gethostbyname() etc, which only works with ipv4.