CodePudding user response:
And the server to keep the heart, the timeout automatically disconnect reconnection,CodePudding user response:
How to keep the heart, to elaborate on it?CodePudding user response:
Define the data structure of a test package, by every two seconds to send a client to the server, the server response for testing kits,CodePudding user response:
If it is streaming socket, and to detect timeliness requirements is not high, can be done with the keepalive socket directly attribute, otherwise can only be done in the form of heartbeat packets,CodePudding user response:
3 floor, 4th floor, can give a specific order code?