This documentation is archived and is not being maintained.

LingerOption Members

Specifies whether a Socket will remain connected after a call to the Close or Close methods and the length of time it will remain connected, if data remains to be sent.

The LingerOption type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework LingerOption Initializes a new instance of the LingerOption class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Enabled Gets or sets a value that indicates whether to linger after the Socket is closed.
Public property Supported by the .NET Compact Framework LingerTime Gets or sets the amount of time to remain connected after calling the Socket.Close method if data remains to be sent.
Top
Show: