Home > other >  A simple question about TCP
A simple question about TCP

Time:10-05

How to understand the data transmission of the TCP connection is without borders, in the actual programming need how to deal with?

CodePudding user response:

This must be custom agreements, including calibration data,

CodePudding user response:

Immense difficulty is the problem of TCP stick package, for TCP protocol, the client sends data in a row, as long as this function from the server buffer is big enough, will received at once, that is, the client is sent several times, there is a boundary, while the service side once receive, so that no boundary

CodePudding user response:

How many TCP server load pressure, decided to your client to send you the size of the data,

CodePudding user response:

The
refer to the original poster hhb2009sunny response:
how to understand the data transmission of the TCP connection is borderless, need how to deal with in the actual programming?

TCP transport is a flow, not a concept of a bag, a bit like a river, to the water in the river boundary,

CodePudding user response:

Learning how to learn TCP hey hey
  • Related