2016-03-06 40 views
0

我试图用这个空隙torrent文件:Monotorrent UDP错误

 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 

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

在此先感谢。

回答

3

MonoTorrent在almost three years中没有看到任何提交,甚至在2010年之后你可以看到它在2010年之后非常稀少。它不会拥有现代洪流客户端所具有的所有优秀功能,只是说。

无论如何,UDP跟踪协议是first published in 2008所以实际上有一些支持是公平的机会。通过他们在github上的提交显示,c900c7c实际上在2009年添加了udp跟踪器支持。TrackerFactory.cs中的快速检查也表明支持仍然存在。

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