洪流如何宣布网址(跟踪器) [英] How torrent announce url work (tracker)

查看:64
本文介绍了洪流如何宣布网址(跟踪器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



有人请告诉我宣布网址是如何工作的。

应用程序/脚本需要发送哪些信息才能发布网址。你得到的回报。



例如

这是traker中的url

http://torrent.fedoraproject.org:6969/announce [ ^ ]

,这是哈希

#= D878AD248D8D2B24C2CCF9405476BB692E625081



i认为哈希与它有关,因为许多种子都有相同的公告网址。



任何帮助赞赏。



谢谢

Hi all,

can some one please tell me how the announce url work.
what information did application / script need to send to "announce" url. and what you will get in return.

for example
this is url in traker
http://torrent.fedoraproject.org:6969/announce[^]
and this is hash
# = D878AD248D8D2B24C2CCF9405476BB692E625081

i think hash has something to do with it, since many torrents has identical announce url.

any help appreciated.

thanks

推荐答案

参见BitTorrent协议规范 [ ^ ]。您将HTTP GET请求发送到跟踪器URL,其中info_hash和标准所需的其他数据作为查询参数。
See the BitTorrent Protocol Specification[^]. You send a HTTP GET request to the tracker URL with the info_hash and other data required by the standard as query parameters.


You'll get in return a <b>beencod</b> line that you can parse with certain class that you can find on google : )

The hash represents the torrent on the tracker, the hash is like an ID to it, it's like your name, the bittorrent program sends a request to the tracker with the name of it (in this case the hash)


这篇关于洪流如何宣布网址(跟踪器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆