Redigera

Dela via


ServicePointManagerElement.UseNagleAlgorithm Property

Definition

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.

Applies to

See also