News for hackers. Stuff that matters.
Re:What developers should know about TCP by keitmo on Friday May 15, 2020 @09:58PM (#23199790)
I often tell people to assume the TCP stack's buffering is arbitrary & capricious and will do the most inconvenient thing for your code. That can mean ether a) dribbling data in one byte at a time per recv() call, or b) buffering multiple megabytes and returning it all in a single recv() call.

There are no comments on this comment yet.