Socket.SetSoLinger(Boolean, Int32) Socket.SetSoLinger(Boolean, Int32) Method

Definition

Sets this socket's SoLinger timeout in seconds.

[Android.Runtime.Register("setSoLinger", "(ZI)V", "GetSetSoLinger_ZIHandler")]
public virtual void SetSoLinger (bool on, int linger);
abstract member SetSoLinger : bool * int -> unit
override this.SetSoLinger : bool * int -> unit

Parameters

linger
Int32 Int32

Exceptions

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