다음을 통해 공유


ICoreConnectionPNames.TcpNodelay Field

Definition

Determines whether Nagle's algorithm is to be used.

[Android.Runtime.Register("TCP_NODELAY")]
public const string TcpNodelay;
[<Android.Runtime.Register("TCP_NODELAY")>]
val mutable TcpNodelay : string

Field Value

Attributes

Remarks

Determines whether Nagle's algorithm is to be used. The Nagle's algorithm tries to conserve bandwidth by minimizing the number of segments that are sent. When applications wish to decrease network latency and increase performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY). Data will be sent earlier, at the cost of an increase in bandwidth consumption.

This parameter expects a value of type Boolean.

Java documentation for org.apache.http.params.CoreConnectionPNames.TCP_NODELAY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to