Calculating available bandwidth
I need wr开发者_如何学Goite a code in C++ in Windows , to calculate available bandwidth. I'm currently planing to use spruce algorithm. i wanted to know is there any code available for this algorithm in windows . or is there any other technique to get the internet bandwidth.
Searching for "spruce algorithm" gives me this result http://iris.csail.mit.edu/spruce/ :
Spruce is a tool for measuring available bandwidth over Internet paths. Download source code
It's GPLv2 and written in C - should be easily portable to C++.
thrulay is another network capacity tester, which along with calculating the bandwidth, does the rtt and uses median for summarizing delay which as it's author Stanislav Shalunov in Mean Delay Considered Harmful is right as averages are mostly meaningless if the distribution from which the samples are taken isn't fixed
精彩评论