For more immediate delivery of small messages, a new MSMQ registry key has been introduced in Windows NT 4.0 Service Pack 6. The following new registry key is of type "REG_DWORD" and is added under the MSMQ parameters:
This key may be set to disable TCP nagling. It has valid values of "0" and "1", with a default of "0" (enable nagling). By default, message queuing enables nagling on the TCP sockets it uses. Enabling nagling here improves overall performance, but it might briefly delay transmission of smaller packets. You can add this entry to the registry with a value of "1" to disable nagling, as the following code illustrates, if the delay is undesirable or unacceptable.
0 Nagling is enabled.
1 Nagling is disabled.
ID d'article : 241777 - Dernière mise à jour : 11 juin 2002 - Révision : 1