socket gethostbyaddr