Hey Rahul,
DIA3207E The TCP/IP call "gethostbyname" returned h_errno="1".
This type of error indicates that IP address of the target machine is
not being resolved correct. The tcpip node catalog information shows the
machine's network alias.
your problem has to do with your network configuration
http://msdn.microsoft.com/library/de.../en-us/winsock
/winsock/windows_sockets_error_codes_2.asp
I have an old link, check this msdn site to see the error code you are getting.