3 ms·
It looks like getaddrinfo does have that ability, but I could not tell if gethostbyname supports it.
by CaliforniaKarl 8y ago
It looks like getaddrinfo does have that ability, but I could not tell if gethostbyname supports it.
- jwilk 8y agogethostbyname() is obsolete. And no, it doesn't support IDN.
- aaronmdjones 8y agoPlease stop using gethostbyname(3). Among other things, it doesn't support IPv6.