not reentrant gethostbyname Inet_ntop