Y
Hacker News
new
|
ask
|
show
|
jobs
by
CaliforniaKarl
2881 days ago
It looks like getaddrinfo does have that ability, but I could not tell if gethostbyname supports it.
2 comments
aaronmdjones
2881 days ago
Please stop using gethostbyname(3). Among other things, it doesn't support IPv6.
link
jwilk
2881 days ago
gethostbyname() is obsolete. And no, it doesn't support IDN.
link