ServicePointManagerElement.UseNagleAlgorithm 屬性

定義

取得或設定布林值,用於判斷是否使用 Nagle 演算法。

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

屬性值

true 表示使用 Nagle 演算法;否則為 false。 預設值是 true

屬性

備註

Nagle 演算法可用來緩衝小型數據封包,並將其傳輸為單一封包,以減少網路流量。 此程式也稱為「流覽」;它廣泛使用,因為它會減少傳輸的封包數目,並降低每個封包的額外負荷。

適用於

另請參閱