开发者

Is there any Algorithm, To find the available bandwidth between two peers on Internet?

开发者 https://www.devze.com 2023-02-28 17:59 出处:网络
I am trying to develop a program which displays the available bandwidth between two peers. Later this module will be integrated in my application which facilitates various user interactions (chatting,

I am trying to develop a program which displays the available bandwidth between two peers. Later this module will be integrated in my application which facilitates various user interactions (chatting, desktop sharing etc) using P2P architecture.

Somewhere I read about Spruce algorithm to find the current available bandwidth between two peers, but I am not sure whether that can be used or not.

Is there any already developed algorithm to achieve this ? Plz remember the architecture is P2P.

this seemed an easier problem when I st开发者_运维知识库arted working on it, but now I realize it is alot tougher than it looks,.... So I need the help of experienced and enthusiastic network programmers......

thanks in advance..


I can think of one.

Send a file and time it. There's your approximate available bandwidth. Need a better approximation? Send a bigger file.


I found this thread on Stackoverflow that is somewhat similar to your question.

Calculating available bandwidth

Hopefully, you'll find an answer there.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号