n is either 1 (true) or 0 (false). The default value is 0.
This parameter has been retained for compatibility, but should not be used when building new applications.
When UseNagleAlgorithm is enabled (n = 1), InterSystems IRIS uses the Nagle algorithm for Telnet.
The Nagle algorithm makes Telnet more efficient. It reduces the number of IP packets sent over the network by consolidating messages that are sent within a small time interval into a single IP packet. When the Nagle algorithm is enabled, the operating system waits some interval before actually committing the data from a send command, in the hopes that the application calls send again with more data that can be consolidated with the first. For more details see RFC 896Opens in a new tab.
Changing This Parameter
On the Compatibility page of the Management Portal (System Administration > Configuration > Additional Settings > Compatibility), in the UseNagleAlgorithm row, click Edit. Select UseNagleAlgorithm to enable this setting.
Instead of using the Management Portal, you can change UseNagleAlgorithm in the Config.MiscellanousOpens in a new tab class (as described in the class reference) or by editing the CPF with a text editor.