protocol automatically compatible with IPv4/IPv6 address

This commit is contained in:
YuQing
2025-07-21 16:51:16 +08:00
parent 0c954e697b
commit 496da3f0c4
10 changed files with 237 additions and 77 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ public class Test1 {
System.out.println("network_timeout=" + ClientGlobal.g_network_timeout + "ms");
System.out.println("charset=" + ClientGlobal.g_charset);
TrackerGroup tg = new TrackerGroup(new InetSocketAddress[]{new InetSocketAddress("47.95.221.159", 22122)});
TrackerGroup tg = new TrackerGroup(new InetSocketAddress[]{new InetSocketAddress("192.168.3.202", 22122)});
TrackerClient tc = new TrackerClient(tg);
TrackerServer ts = tc.getTrackerServer();