2016-03-06 41 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之一),並自己構建它補丁添加了。