Home > other >  TCP buffer size is 4096, then I send packets is also partitioned into 4096!
TCP buffer size is 4096, then I send packets is also partitioned into 4096!

Time:09-23

I do file transfer, block 16 KB is a pack of myself, but Send the Send, caught is a pack of 4096, he automatically help me points inside the block, I wanted to know, I now is a good synthetic Send Send should be divided into 4096, or not to be changed, since he will automatically help me, if I was with the Send directly Send a 100 KB, he will help me points automatically, how should I get, don't understand

CodePudding user response:

That's the theory, but pay attention to set the send buffer size, and pay attention to send the return value
  • Related