NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

LingerOption Constructor

Initializes a new instance of the LingerOption class.

[Visual Basic]
Public Sub New( _
   ByVal enable As Boolean, _
   ByVal seconds As Integer _
)
[C#]
public LingerOption(
   bool enable,
   int seconds
);
[C++]
public: LingerOption(
   bool enable,
   int seconds
);
[JScript]
public function LingerOption(
   enable : Boolean,
   seconds : int
);

Parameters

enable
true to enable remaining connected after a Close is sent; otherwise, false.
seconds
[To be supplied.]

See Also

LingerOption Class | LingerOption Members | System.Net.Sockets Namespace