提高程序的稳定性

This commit is contained in:
Administrator
2023-03-09 08:26:54 +08:00
parent f2b6394688
commit 2d6122480a
14 changed files with 298 additions and 133 deletions
@@ -92,10 +92,10 @@ public class KLALBClient {
tc.getDout().writeLong(suid.getMostSignificantBits());
tc.getDout().writeLong(suid.getLeastSignificantBits());
tc.getDout().flush();
int v=tc.getDin().read();
if(v==-1) {
throw new EOFException();
}
tc.handshake(10);
re=0;
System.out.println(tll+":连接成功");
tll.setState(true);