Mono Class Library: System.Net.Sockets.LingerOption Overview | Members

System.Net.Sockets.LingerOption Constructor

Constructs and initializes a new instance of the System.Net.Sockets.LingerOption class. [Edit]

public LingerOption (bool enable, int secs)

Parameters

enable
A bool where true enables the linger option and false disables the option. [Edit]
secs
Documentation for this section has not yet been entered. [Edit]

Remarks

The System.Net.Sockets.LingerOption instance is created with the LingerOption.Enabled property set to enable and the LingerOption.LingerTime property set to seconds. [Edit]

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0