DNS.GetHostEntry very slow. How do i speed it up?
Mobile
1
Posts
1
Posters
0
Views
1
Watching
-
Hi folks! I do have an "Windows Mobile 5" device that runs a software that is trying to connect to a server in our network. When starting the software and connecting via IP-address everything works within a second. But we need to use the hostname of the server as the IP-address may change. So i built in a "DNS.GetHostEntry"-call to get the IPEndPoint i need to connect. When running the software the first time after reboot the DNS-Lookup takes between 20 and 30 seconds, which is way to long. (btw. when entering a URL in the device“s Internet Explorer is way faster!) Is there a way to speed up this query? Thanx for help! Greetings J.Holzer