I need write 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 th
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
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++.