Resolve Hostname not working...

  • Thread starter Thread starter Chris Godwin
  • Start date Start date
C

Chris Godwin

Can someone please tell me why the following code does not work?

System.Net.IPHostEntry iph =
System.Net.Dns.GetHostByAddress("66.218.70.49");



I get this error.

An unhandled exception of type 'System.Net.Sockets.SocketException' occurred
in system.dll

Additional information: The requested name is valid and was found in the
database, but it does not have the correct associated data being resolved
for
 
Back
Top