P
prateekbaxi
Hi,
Iam trying to write a small FTP client which accepts the IPAddress and
connects to this FTP server.
Now when I use DNS.GetHosbyAddress it failes and reutrns the Socket
Exception
"The requested name is valid and was found in the database, but it does
not have the correct associated data being resolved for".
But for the same IPAddress, if I use DNS.Resolve then it works fine and
it get resloved and does give the HostEntryPoint.
What could be the probelm? Why GetHosByAddress fails and Why Reslove
works? What's the difference between then.
Any ideas???
Pls help??
Regards,
-pb-
Iam trying to write a small FTP client which accepts the IPAddress and
connects to this FTP server.
Now when I use DNS.GetHosbyAddress it failes and reutrns the Socket
Exception
"The requested name is valid and was found in the database, but it does
not have the correct associated data being resolved for".
But for the same IPAddress, if I use DNS.Resolve then it works fine and
it get resloved and does give the HostEntryPoint.
What could be the probelm? Why GetHosByAddress fails and Why Reslove
works? What's the difference between then.
Any ideas???
Pls help??
Regards,
-pb-