1

作为我的 tcp 聊天文件共享的一部分,我使用 monotorrent 在服务器程序(我的聊天)上构建了一个 udp 跟踪器,但是客户端(我用 monotorrent 构建)和 monotorrent 源代码上的示例客户端没有连接到跟踪器,客户端和服务器的端口是开放的,Utorrent 确实与跟踪器连接。

我还尝试将源代码上的示例跟踪器用作 udp 跟踪器,但它不起作用。

这就是我更改的内容(7243 = 我的跟踪器端口):

        System.Net.IPEndPoint listenpoint = new System.Net.IPEndPoint(System.Net.IPAddress.Loopback, 7243);
        ListenerBase listener = new MonoTorrent.Tracker.Listeners.UdpListener(listenpoint);

请帮忙

4

0 回答 0