SocketOptions.TcpNodelay 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.
關閉 Nagle 演算法以處理此連線。
[Android.Runtime.Register("TCP_NODELAY")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)]
public const Java.Net.SocketOption TcpNodelay = 1;
[<Android.Runtime.Register("TCP_NODELAY")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable TcpNodelay : Java.Net.SocketOption
欄位值
Value = 1- 屬性
備註
關閉 Nagle 演算法以處理此連線。 寫入網路的資料不會在先前寫入資料確認後緩衝。
僅適用於 TCP:SocketImpl。
Java 文件 java.net.SocketOptions.TCP_NODELAY。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。