This commit is contained in:
Administrator
2025-08-08 17:13:27 +08:00
parent 7267aec1fd
commit 306bfd36f7
39 changed files with 2515 additions and 355 deletions
@@ -0,0 +1,16 @@
package org.kne.cloud.network.nathole;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;
public class Experiment {
public static void main(String[] args) throws IOException {
Socket soc=new Socket();
soc.bind(new InetSocketAddress("kne02.yoyo250.fun", 1234));
soc.connect(new InetSocketAddress("kne04.yoyo250.fun", 1234));
System.out.println("连接成功");
}
}