Java.Net.ServerSocket.SoTimeout Property
Gets the socket 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.IO.IOExceptionif the option cannot be retrieved.
Java.Net.SocketExceptionif an error occurs while setting the option.

Remarks

Get method documentation [Android Documentation]

Gets the socket SocketOptions.SoTimeout.

Set method documentation [Android Documentation]

Sets the SocketOptions.SoTimeout in milliseconds for this socket. This accept timeout defines the period the socket will block waiting to accept a connection before throwing an InterruptedIOException. The value 0 (default) is used to set an infinite timeout. To have 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