Calculating available bandwidth

╄→尐↘猪︶ㄣ 提交于 2019-11-30 20:27:54

问题


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 this algorithm in windows . or is there any other technique to get the internet bandwidth.


回答1:


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++.




回答2:


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



来源:https://stackoverflow.com/questions/4313688/calculating-available-bandwidth

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!