Home > Back-end >  Dear boss, ask a question, urgent urgent...
Dear boss, ask a question, urgent urgent...

Time:09-28

I made a TCPServer and a TCPClient application, the problem is that if you open TCPServer service program, and then opens the TCPClient client, no problem, two-way can communication, if broken again dozen TCPServer SERVER program, TCPClient program are unable to service data, or if you open the TCPClient program to open the SERVER services, the client program is also unable to send data to the SERVER end, how to order and you tell the boss, thank you, urgent!

CodePudding user response:

There is something wrong with the client connection server-side logic,

CodePudding user response:

Do you want to determine whether the client connection is successful ya, reconnection without success

CodePudding user response:

1, the server must be started earlier, the client can start,
2, the server running online for a long time, the client according to the demand for online,
3, had better be in the client in a judgment, can the connection,
  • Related