Java.Net.SocketOptions.IpTos Field
This integer option specifies the value for the type-of-service field of the IPv4 header, or the traffic class field of the IPv6 header.

Value: 3

Syntax

[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.")]
public const SocketOption IpTos

Remarks

This integer option specifies the value for the type-of-service field of the IPv4 header, or the traffic class field of the IPv6 header. These correspond to the IP_TOS and IPV6_TCLASS socket options. These may be ignored by the underlying OS. Values must be between 0 and 255 inclusive.

See for more about IPv4 and for more about IPv6.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1