Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Network speed detection

Status
Not open for further replies.

CStrugling

Programmer
Apr 10, 2007
9
JP
Bros,

How to code the network speed detection?
What i mean is I want to detect the upload and download using clickbutton. When I press a button it will show to textbox1 the upload speed and textbox2 the download speed.
example:
TextBox1 = 42 kbps
TextBox2 = 54 kbps

Is anybody here how to do that? Much better if you can give me some links for basic.

Thanks in advance.
 
You mean you want to do something like ping does? Look at some this ping source code and see if that will help.

I've found several places with source code for ping and it's kind.
Essentially you will need to send out some packets, measure the time it takes for the packet to get there, and (maybe) the time it take for a packet to return to the program.





James P. Cottingham
-----------------------------------------
[sup]I'm number 1,229!
I'm number 1,229![/sup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top