NoDelay Property  
 

Enable or disable the Nagle algorithm.

Syntax

object.NoDelay [= { True | False } ]

Remarks

The NoDelay property is used to enable or disable the Nagle algorithm, which buffers unacknowledged data and ensures that a full-size packet can be sent to the remote host. By default this property value is set to False, which enables the Nagle algorithm (in other words, the data being written may not actually be sent until it is optimal to do so). Setting this property to True disables the Nagle algorithm, minimizing the time delays between the data packets being sent.

This property should be set to True only if it is absolutely required and the implications of doing so are understood. Disabling the Nagle algorithm can have a significant negative impact on the performance of the server.

Data Type

Boolean

See Also

KeepAlive Property, ReuseAddress Property