SocketOptions.SoLinger SocketOptions.SoLinger Field



This API is now obsolete.

Number of seconds to wait when closing a socket if there is still some buffered data to be sent.

[System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.")]
public const Java.Net.SocketOption SoLinger = 128;
val mutable SoLinger : Java.Net.SocketOption

Field Value



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