Mono Class Library: System.Net.Sockets.LingerOption Overview | MembersSystem.Net.Sockets.LingerOption.LingerTime Property |
Gets or sets the amount of time to remain connected after the Socket.Close method is called. [Edit]
|
A int that contains the amount of time, in seconds, to remain connected after calling the Socket.Close method. [Edit]
When setting the SocketOptionName.Linger option of an instance of the System.Net.Sockets.Socket class, a ArgumentException exception is thrown if the LingerOption.LingerTime property is less than zero or greater than ushort.MaxValue . [Edit]
Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0