added gethostbyname difference between linux and windows