Dns.GetHostEntry
Peter Osucha <[email protected]> Tue, 19 Jun 2007 16:24:51 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
One more... =20 I have been looking around on the internet for a reason for this behavior - nothing is popping up. =20 I am calling the Dns.GetHostEntry(MyIPAddress) method to fill an IPHostEntry object. I continue to be puzzled by the result - the IPHostEntry object never has the same IPAddress as the address passed in (MyIPAddress). If I pass the MyHostName instead of the MyIPAddress, then the correct IP Address is returned. =20 If anyone else has seen this behavior, what is its reason, please? =20 Peter=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This list is hosted by DevelopMentor=AE http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com