如何在python中使用libtorrent的udp协议跟踪器协议

时间:2012-12-27 17:21:22

标签: python udp libtorrent

我已经浏览了以下链接http://www.rasterbar.com/products/libtorrent/udp_tracker_protocol.html,但我无法理解为了使用udp tracker协议发送数据需要调用哪些函数。

1 个答案:

答案 0 :(得分:0)

这是一个跟踪器协议。客户端不需要采取任何操作来使用它。您只需要在其跟踪器列表中添加一个包含udp:// URL的torrent。 libtorrent会自动联系跟踪器,无论是http还是udp。