自动获得节点地址功能

This commit is contained in:
Administrator
2022-11-28 15:47:42 +08:00
parent 913313b2a8
commit 05d4117ef3
8 changed files with 344 additions and 23 deletions
@@ -74,6 +74,10 @@ public class TCPConnection {
}
}
public void setTunnel(Tunnel tunnel) {
this.tunnel = tunnel;
}
public TCPConnection(Tunnel t) throws UnknownHostException, IOException {
this(t, t.connectClientSocket());
}