By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

VB.NET - DNS.Resolve is very slow, need help

P: n/a
Hi,

I am writing a program in VB.NET and it is very slow when it reach this
line :

....
Dim ipHostInfo As IPHostEntry = Dns.Resolve(strMyForeignIP)

....

It stay there at least 5 seconds to reach the foreign host, how can it
be fast (instant)? With winsock (in VB6) it is instant connection.

Thank you.

Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.