SocketOptions.IpTos Field

Definition

Caution

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

This option sets the type-of-service or traffic class field in the IP header for a TCP or UDP socket.

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

Field Value

Value = 3
Attributes

Remarks

This option sets the type-of-service or traffic class field in the IP header for a TCP or UDP socket.

Added in 1.4.

Java documentation for java.net.SocketOptions.IP_TOS.

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