Defines constants that are used by the Socket.Shutdown(SocketShutdown) method.
The System.Net.Sockets.SocketShutdown enumeration defines the values that can be passed to the Socket.Shutdown(SocketShutdown) method.
| Member Name | Description |
|---|---|
| Both |
Disables a System.Net.Sockets.Socket for both sending and receiving. This field is constant. |
| Receive |
Disables a System.Net.Sockets.Socket for receiving. This field is constant. |
| Send |
Disables a System.Net.Sockets.Socket for sending. This field is constant. |