CodePudding user response:
if the client disconnects again to open the connectionYou said, he was to reconnect again,
So what are you ask "how and on the client to reconnect"
As I turned off the client, then restart, you say your code cannot cope with this problem? He couldn't even on the server?
CodePudding user response:
Server listening, listening to the connected directly