CodePudding user response:
I also encountered the same problem but is a network under the condition of abnormal disconnect the network client can't connect again on the serverCodePudding user response:
So popular multilayer framework, will not consider this question?Should is short of the connection
CodePudding user response:
I have solved the problem of the test environment is the problem of the building Lord shouldAstaClientSocket keepaliveping a attribute set heartbeat package unit is minutes
The server receives the message id=1
As for the client 10 minutes I haven't met, estimation is broken network firewall to kill but you client can judge ah broken OpenTheSocket regularly