Enables or disables the Nagle algorithm.
The Nagle algorithm is a system that is used to reduce un-necessary network traffic when small chunks of data are being transmitted using TCP. When enabled (as it is by default) the system will delay transmission of data until either there is enough data to transmit (xxxx bytes) or a certain amount of time has elapsed (xxxx ms).
When a value of 1 is used, the algorithm is disabled and all transmissions of data are immediately carried out.
This command can only be used for TCP sockets. |