ServicePointManagerElement::UseNagleAlgorithm Property

 

Gets or sets a Boolean value that determines whether the Nagle algorithm is used.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

public:
[ConfigurationPropertyAttribute("useNagleAlgorithm", DefaultValue = true)]
property bool UseNagleAlgorithm {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true to use the Nagle algorithm; otherwise, false. The default value is true.

The Nagle algorithm is used to reduce network traffic by buffering small packets of data and transmitting them as a single packet. This process is also referred to as "nagling"; it is widely used because it reduces the number of packets transmitted and lowers the overhead per packet.

.NET Framework
Available since 2.0
Return to top
Show: