Home > Back-end >  Linux Socket programming
Linux Socket programming

Time:09-30

Socket programming under Linux, why such a bug?

For example, the write ()/the send () is repeated three times, each time to send the string "ABC", then read on the target machine ()/recv () may receive three times, each time to receive "ABC". May also receive twice, the first to receive "abcab", the second time receiving "cabc"; May also be a time to receive the string "abcabcabc", so the metaphysics???????

Every time to send data, but why the result is not the same? Great god told ~

CodePudding user response:

Baidu streaming socket

CodePudding user response:

So the TCP called TCP flow. Like the water in the pipe,
  • Related