Recreating Ping in .Net Problems

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have downloaded every example on how to create a ping utility in .Net in
both VB and C#, but have been disappointed with the results. I have YET to
find an example that returns consistent results that are even close the the
actual ping command line utility. For example:

If i would ping the same server over and over, some pings would come back in
0 milliseconds, others would come back in 15, but never in between. It would
always jump between the two. The real ping utility would consitently return
in 5-6ms for the same host but I could never get that kind of precision or
consistency. What does the real ping utility do different to get those kind
of results?

Any thoughts?

Here are some of my sources:
http://support.microsoft.com/default.aspx?scid=kb;en-us;828993
http://www.eggheadcafe.com/articles/20020209.asp
http://www.c-sharpcorner.com/network/ping.asp
http://www.csharphelp.com/archives/archive6.html
http://www.ftponline.com/vsm/2002_03/magazine/columns/qa/page2.aspx
http://www.mastercsharp.com/article.aspx?ArticleID=59&&TopicID=14
 
Jason,
I went through this mess recently. Send me your email address and I'll send
you some code. It may be what you already have but it's worth a look.
-Mike
 
Back
Top