Java.Net.Socket.SetSoLinger Method
Sets this socket's SocketOptions.SoLinger timeout in seconds.

Syntax

[Android.Runtime.Register("setSoLinger", "(ZI)V", "GetSetSoLinger_ZIHandler")]
public virtual void SetSoLinger (bool on, int timeout)

Parameters

on
Documentation for this section has not yet been entered.
timeout
Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.SocketException

Remarks

Sets this socket's SocketOptions.SoLinger timeout in seconds. If on is false, timeout is irrelevant.

[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