ServicePointManagerElement.UseNagleAlgorithm Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a Boolean value that determines whether the Nagle algorithm is used.
public:
property bool UseNagleAlgorithm { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("useNagleAlgorithm", DefaultValue=true)]
public bool UseNagleAlgorithm { get; set; }
[<System.Configuration.ConfigurationProperty("useNagleAlgorithm", DefaultValue=true)>]
member this.UseNagleAlgorithm : bool with get, set
Public Property UseNagleAlgorithm As Boolean
Property Value
true
to use the Nagle algorithm; otherwise, false
. The default value is true
.
- Attributes
Remarks
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.