Home > Net >  TCP server
TCP server

Time:10-02

Made a server-side program, if the client disconnects again to open the connection, the server side to how and on the client to reconnect?

CodePudding user response:

if the client disconnects again to open the connection

You 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
  •  Tags:  
  • C#