Home All Groups Group Topic Archive Search About
Author
4 Jan 2006 8:34 AM
Thomas Jespersen
Hi

The users of my SmartClient sometimes has very high ping times (500ms +) and
it kills the performance of our applications.

We want to implement a traffic light (red, yellow, red) indicator in the
status bar, which shows the health of the internet connection, and tells the
user, that they shouldn't blame our application.

How would you do that?

I figured that I would ping a specific server and if the average response
time is below e.g. 25ms the light should be green. If it is above e.g. 150ms
it should be red.

But. I haven't been able to implement at reliable Ping component in Managed
code. I tried every sample I could find on the net, but response times goes
from 0 to 1000ms, while the windows ping at the same time is stable around
14-16ms.

PS: I'm using .NET 1.1 (so the new .NET 2.0 ping class will not do).

Is there another way to go?

Thomas

AddThis Social Bookmark Button