KLALB UDP TEST
This commit is contained in:
@@ -9,12 +9,12 @@ import java.nio.channels.SocketChannel;
|
||||
|
||||
public class NatholeTestS {
|
||||
public static void main(String[] args) throws IOException {
|
||||
for (int i1 = 1024; i1 < 65536; i1++) {
|
||||
for (int i1 = 1024; i1 < 32768; i1++) {
|
||||
try {
|
||||
SocketChannel sc= SocketChannel.open();
|
||||
sc.configureBlocking(false) ;
|
||||
sc.bind(new InetSocketAddress("0.0.0.0", i1));
|
||||
sc.connect(new InetSocketAddress("10.235.16.1",10300));
|
||||
sc.connect(new InetSocketAddress("183.199.49.116",21000));
|
||||
sc.close();
|
||||
int i2=i1;
|
||||
new Thread(()->{
|
||||
|
||||
Reference in New Issue
Block a user