3 ms·gethostbyname() is obsolete. And no, it doesn't support IDN.by jwilk 8y agogethostbyname() is obsolete. And no, it doesn't support IDN.