mirror of
https://github.com/happyfish100/fastdfs-client-java.git
synced 2026-09-26 17:09:08 +00:00
protocol automatically compatible with IPv4/IPv6 address
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user