Java.Net.Socket.TrafficClass Property
Returns this socket's setting.

Syntax

[get: Android.Runtime.Register("getTrafficClass", "()I", "GetGetTrafficClassHandler")]
[set: Android.Runtime.Register("setTrafficClass", "(I)V", "GetSetTrafficClass_IHandler")]
public virtual int TrafficClass { get; set; }

See Also

SocketOptions.IpTos

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.SocketException
Java.Net.SocketException

Remarks

Get method documentation [Android Documentation]

Returns this socket's setting.

Set method documentation [Android Documentation]

Sets this socket's SocketOptions.IpTos value for every packet sent by this socket.

Requirements

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