Język

HttpConnectionParamBean.SetLinger(Int32) Method

Definition

[Android.Runtime.Register("setLinger", "(I)V", "GetSetLinger_IHandler")]
public virtual void SetLinger(int linger);
[<Android.Runtime.Register("setLinger", "(I)V", "GetSetLinger_IHandler")>]
abstract member SetLinger : int -> unit
override this.SetLinger : int -> unit

Parameters

linger
Int32

The socket linger timeout, in seconds. The default client connection leaves the socket setting unchanged for a negative value, disables linger for zero, and enables linger for a positive value.

Attributes

Remarks

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