4
나는 MonoTorrent으로 토렌트를 다운로드하려고하는데, 문제는 클라이언트가 트래커에 연락하려고 시도하지 않고있는 것처럼 보이는 wireshark의 네트워크 트래픽을 볼 때입니다. 그것은 토런트 파일을 올바르게 읽고 Visual Studio는 오류를 표시하지 않습니다. MonoTorrent로 토런트를 다운로드 할 때
이
내가 사용하고 코드입니다 :public Form1()
{
EngineSettings settings = new EngineSettings();
settings.AllowedEncryption = EncryptionTypes.All;
settings.SavePath = Path.Combine(Environment.CurrentDirectory, "torrents");
if (!Directory.Exists(settings.SavePath))
Directory.CreateDirectory(settings.SavePath);
engine = new ClientEngine(settings);
engine.ChangeListenEndpoint(new IPEndPoint(IPAddress.Any, 6969));
Torrent torrent = Torrent.Load("C:/Users/xxx/Google Drive/WindowsFormsApplication1/WindowsFormsApplication1/bin/Debug/kontakt.torrent");
TorrentManager manager = new TorrentManager(torrent, engine.Settings.SavePath, new TorrentSettings());
engine.Register(manager);
manager.Start();
}
난 정말 어떤 도움을 주셔서 감사 또는 누군가가 어떤 대안