Sdílet prostřednictvím


SocketOptions.SoSndbuf 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 outgoing network I/O.

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

Field Value

Value = 4097
Attributes

Remarks

Set a hint the size of the underlying buffers used by the platform for outgoing 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 sent over the socket. When used in get, this must return the size of the buffer actually used by the platform when sending out data on this socket.

Valid for all sockets: SocketImpl, DatagramSocketImpl

Java documentation for java.net.SocketOptions.SO_SNDBUF.

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