in reply to •Re: Portably disabling Nagle's algorithm for TCP
in thread Portably disabling Nagle's algorithm for TCP

You seem to think that Nagle's algorithm isn't a tradeoff. It is: it increases bandwidth, but also increases latency. Fairly often, you don't care about bandwidth one way or the other, but want to decrease latency.

It's like saying "automatic is picking the wrong gear for this application, how do I put this car into second?".


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

  • Comment on Re^2: Portably disabling Nagle's algorithm for TCP