HttpConnectionParamBean.SetLinger(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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.