snippet,gethostbyname