- Published on
Investigation · Part 5 of 10 · Following a TCP connection
What a Full Socket Buffer Does to the Sender
My sender wrote 2.6 MB to a peer that never read anything, and every send() said success. I looked where these bytes waited, what setsockopt really does to the buffer sizes, how a blocking sender is slowed down for free, and how an unbounded queue breaks this.