Java.Net.Socket.KeepAlive Property
Returns this socket's SocketOptions.SoKeepalive setting.

Syntax

[get: Android.Runtime.Register("getKeepAlive", "()Z", "GetGetKeepAliveHandler")]
[set: Android.Runtime.Register("setKeepAlive", "(Z)V", "GetSetKeepAlive_ZHandler")]
public virtual bool KeepAlive { 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.SoKeepalive setting.

Set method documentation [Android Documentation]

Sets this socket's SocketOptions.SoKeepalive option.

Requirements

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