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