Java.Net.Socket.SoTimeout Property
Returns this socket's SocketOptions.SoTimeout.

Syntax

[get: Android.Runtime.Register("getSoTimeout", "()I", "GetGetSoTimeoutHandler")]
[set: Android.Runtime.Register("setSoTimeout", "(I)V", "GetSetSoTimeout_IHandler")]
public virtual int SoTimeout { get; set; }

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 SocketOptions.SoTimeout.

Set method documentation [Android Documentation]

Sets this socket's SocketOptions.SoTimeout in milliseconds. Use 0 for no timeout. To take effect, this option must be set before the blocking method was called.

Requirements

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