Org.Apache.Http.Params.CoreConnectionPNames.SoLinger Field
Sets SO_LINGER with the specified linger time in seconds.

Syntax

[Android.Runtime.Register("SO_LINGER")]
public const string SoLinger

See Also

Java.Net.SocketOptions.SoLinger

Remarks

Sets SO_LINGER with the specified linger time in seconds. The maximum timeout value is platform specific. Value 0 implies that the option is disabled. Value -1 implies that the JRE default is used. The setting only affects socket close.

This parameter expects a value of type Java.Lang.Integer.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Params
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1