I would like to create an app that would be able to measure the speed of a given network connection. I'm just not sure how to go about doing this accurately. I know Vista has something that shows the transfer speed if you copy a file. Something like that would be fine. Basically, I would like to send a file or data packet every 20 seconds or so and rate the speed so I can monitor when the speed dips.
Any ideas?
Measure transfer rate?
What are you wanting to monitor?
Point A to B across the internet? An average of Point A and several B's Or are you on a wan with a system at each side?
I suppose the approach changes depending on whether you control one or both sides of the connection as if you have both you can dictate protocol etc too.
Point A to B across the internet? An average of Point A and several B's Or are you on a wan with a system at each side?
I suppose the approach changes depending on whether you control one or both sides of the connection as if you have both you can dictate protocol etc too.
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
-
- Enthusiast
- Posts: 480
- Joined: Thu Jul 27, 2006 4:06 am
Thanks for the replys. The setup I want to benchmark is multiple Metro-E links between buildings. Some links are 100Mb and some are 1Gb. The ISP will make changes in their com gear and will effects our link speeds. The only way I know something has changed is when someone calls and says the system seems slow. The last time that happened my users waited 4 weeks to tell me. The fix given from the ISP was very generic and made to seem as though it just happened for no reason.
I have machines on both ends I can control. Putting together a client server app would be no problem. It might be easier to just measure the transfer rate to a SMB share or FTP on a remote server. Then I would not need to worry about two apps. I will play around with some code and come back with more specific questions if need be.
Thanks all!
I have machines on both ends I can control. Putting together a client server app would be no problem. It might be easier to just measure the transfer rate to a SMB share or FTP on a remote server. Then I would not need to worry about two apps. I will play around with some code and come back with more specific questions if need be.
Thanks all!
Here: http://www.purebasic.fr/english/viewtopic.php?t=28763
This is a flexible progress calculation, you should easily be able to use/adapt this to pretty much anything.
This is a flexible progress calculation, you should easily be able to use/adapt this to pretty much anything.