forked from KNEMC/KLALB
V1.0
This commit is contained in:
@@ -19,6 +19,7 @@ import java.nio.file.Paths;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.Scanner;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
@@ -71,7 +72,6 @@ public class KLALBClient {
|
||||
try {
|
||||
re++;
|
||||
tc=new RemoteTCPConnection(tll);
|
||||
tc.getDout().writeShort(59649);
|
||||
tc.getDout().write(1);
|
||||
tc.getDout().writeUTF(tll.getName());
|
||||
tc.getDout().writeUTF(tll.getIp());
|
||||
@@ -101,7 +101,7 @@ public class KLALBClient {
|
||||
}
|
||||
try {
|
||||
//System.out.println(re);
|
||||
Thread.sleep(500*(1<<Math.min(re,8)));
|
||||
Thread.sleep(1000*(1<<Math.min(re,7)));
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user