SocketWrench .NET Edition

SocketWrench.ShutdownOptions Enumeration

Specifies the shutdown options that the SocketWrench class supports.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum SocketWrench.ShutdownOptions
[C#]
[Flags]
public enum SocketWrench.ShutdownOptions

Remarks

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.

Members

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

Requirements

Namespace: SocketTools

Assembly: SocketTools.SocketWrench (in SocketTools.SocketWrench.dll)

See Also

SocketTools Namespace