Added WinSock equivalent code for InetAddress