Specifies the shutdown options that the SocketWrench class supports.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
The SocketWrench class uses the ShutdownOptions enumeration to specify how reading and writing on the socket should be handled when the Shutdown method is called.
| Member Name | Description | Value |
|---|---|---|
| shutdownRead | Disable any further reading of data. The application will be able to continue to send data. The remote host will see this as the connection being closed. | 0 |
| shutdownWrite | Disable any further sending of data. The application will be able to continue to read data until the remote host closes the connection. | 1 |
| shutdownReadWrite | Disable any further reading or writing to the socket. The remote host will see this as the connection being closed. | 2 |
Namespace: SocketTools
Assembly: SocketTools.SocketWrench (in SocketTools.SocketWrench.dll)