Calculating internet speed Visual basic 2010

I'm just starting out with VB so bear with me. :) Just for giggles and fun I decided to make a program that shows network speed. Well.. using system.net.networkinformation I seem to have at least gotten the speed of the network card. Which is fine.

I would like to take it one step further and, if at all possible (Especially considering my VB Noob status) show my current speed that I am enjoying from my provider. No particular reason, just want to see if I can do it or at the very least get a feel for what is required.

Thank you.
thirtywinterAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
Not really.  Since the network operates by sending small packets and has to wait for a response fairly often, the 'effective' speed varies constantly.  The rated speed like 100MHz network card is the fastest that data will be sent.  The 'real' speed will be less than that because it doesn't run constantly but only in packets.  Typical packet size for Ethernet is about 1500 bytes.
0
 
Dave BaldwinFixer of ProblemsCommented:
Getting the actual speed of a connection requires programs at both ends.  If your ISP has a web page that you can connect to, you can measure the time it takes from your request until the entire file is received and do the arithmetic.  Network connections seldom run at their rated speed because of overhead and other traffic that shares the network.
0
 
thirtywinterAuthor Commented:
Sounds logical. ok.. in that case, is it possible to get the actual speed that my network port is transmitting at at any give time? Like my port has X bandwidth, but is currently sending at Y and receiving at Z?
0
 
thirtywinterAuthor Commented:
Gotcha! Well, that concludes that it looks like.

Thank you for your input. :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.