Aracılığıyla paylaş


SocketOptions.SoRcvbuf Field

Definition

Caution

This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.

Set a hint the size of the underlying buffers used by the platform for incoming network I/O.

[Android.Runtime.Register("SO_RCVBUF")]
[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 SoRcvbuf = 4098;
[<Android.Runtime.Register("SO_RCVBUF")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable SoRcvbuf : Java.Net.SocketOption

Field Value

Value = 4098
Attributes

Remarks

Set a hint the size of the underlying buffers used by the platform for incoming network I/O. When used in set, this is a suggestion to the kernel from the application about the size of buffers to use for the data to be received over the socket. When used in get, this must return the size of the buffer actually used by the platform when receiving in data on this socket.

Valid for all sockets: SocketImpl, DatagramSocketImpl

Java documentation for java.net.SocketOptions.SO_RCVBUF.

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