Socket.TcpNoDelay Property

Definition

Tests if SocketOptions#TCP_NODELAY TCP_NODELAY is enabled. -or- Enable/disable SocketOptions#TCP_NODELAY TCP_NODELAY (disable/enable Nagle's algorithm).

public virtual bool TcpNoDelay { [Android.Runtime.Register("getTcpNoDelay", "()Z", "GetGetTcpNoDelayHandler")] get; [Android.Runtime.Register("setTcpNoDelay", "(Z)V", "GetSetTcpNoDelay_ZHandler")] set; }
[<get: Android.Runtime.Register("getTcpNoDelay", "()Z", "GetGetTcpNoDelayHandler")>]
[<set: Android.Runtime.Register("setTcpNoDelay", "(Z)V", "GetSetTcpNoDelay_ZHandler")>]
member this.TcpNoDelay : bool with get, set

Property Value

a boolean indicating whether or not SocketOptions#TCP_NODELAY TCP_NODELAY is enabled.

Attributes

Exceptions

Remarks

Property getter documentation:

Tests if SocketOptions#TCP_NODELAY TCP_NODELAY is enabled.

Added in 1.1.

Java documentation for java.net.Socket.getTcpNoDelay().

Property setter documentation:

Enable/disable SocketOptions#TCP_NODELAY TCP_NODELAY (disable/enable Nagle's algorithm).

Added in 1.1.

Java documentation for java.net.Socket.setTcpNoDelay(boolean).

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