【问题标题】:Monotorrent UDP errorMonotorrent UDP 错误
【发布时间】:2016-03-06 20:15:34
【问题描述】:

我试图用这个 void 下载文件:

        public void DownloadTorrent(string path)
        {
            Torrent torrent = Torrent.Load(path);

            Console.WriteLine(torrent.Files[0]);
            TorrentManager manager = new TorrentManager(torrent, savePath, new TorrentSettings());
            engine.Register(manager);
            manager.HashCheck(true);
            manager.Start();
        }

但是每次我加载一个 torrent 文件时,我都会收到这个错误:

Unsupported protocol udp://tracker.publicbt.com:80/announce
Unsupported protocol udp://tracker.istole.it:80/announce

有人知道如何解决这个问题

提前致谢。

【问题讨论】:

    标签: c# torrent monotorrent


    【解决方案1】:

    MonoTorrent 还没有在almost three years 中看到提交,甚至在此之前你可以看到它在 2010 年之后的工作非常稀少。它不会拥有现代 torrent 客户端所拥有的所有不错的功能,只是说.

    无论如何,UDP Tracker 协议是first published in 2008,所以很有可能实际上有一些支持。查看他们在 github 上的提交,我们发现 c900c7c 实际上早在 2009 年就添加了 udp 跟踪器支持。快速查看 TrackerFactory.cs 也表明支持仍然存在。

    但是,有一个 pull request regarding the udp tracker protocol 尚未合并(可能永远不会),所以我认为您最好的选择是克隆或分叉存储库(或 many other forks 之一)并构建自己添加那个补丁。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-06-08
      • 1970-01-01
      • 2021-09-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多