Home > Software engineering >  Test socket, the server port, part of the client can't connect
Test socket, the server port, part of the client can't connect

Time:11-25

TCP server running 1 day or a few days later, the server can't receive part of the client sends data, after restart the server, all clients normal connection, consult a great god, what reason be

CodePudding user response:

handle leak?

CodePudding user response:

Should not, check the handle, and did not appear a lot of wait, basic it is ESTABLISHED, could it be I server-side processing efficiency couldn't keep up with?

CodePudding user response:

Description is not enough detailed, how many the client?
No source code, or pseudo code, say what,,,

CodePudding user response:

The
reference 3 floor walk every step response:
description is not enough detailed, how many client?
No source code, or pseudo code, say what,,,



About 1700, the client server cannot receive data after the end of time, but caught you can see the client to send data

CodePudding user response:

Check code for the client, the client has sent the data server is an ACK response packet, if not, that is the server did not perform recv action,
  • Related