forked from KNEMC/KLALB
提高程序的稳定性
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user