CoreConnectionPNames.SoLinger Field

Definition

Sets SO_LINGER with the specified linger time in seconds.

[Android.Runtime.Register("SO_LINGER")]
public const string SoLinger;
[<Android.Runtime.Register("SO_LINGER")>]
val mutable SoLinger : string

Field Value

Attributes

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 Integer.

Java documentation for org.apache.http.params.CoreConnectionPNames.SO_LINGER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also