Resolve Hostname not working...

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top