Error: The requested name is valid and was found in the database, but it does not have the correct a

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-
 

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