Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 469
  • Last Modified:

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.
0
thirtywinter
Asked:
thirtywinter
  • 2
  • 2
1 Solution
 
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
 
Dave BaldwinFixer 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
 
thirtywinterAuthor Commented:
Gotcha! Well, that concludes that it looks like.

Thank you for your input. :)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now