System.Net.Sockets.SocketShutdown Enumeration

Defines constants that are used by the Socket.Shutdown(SocketShutdown) method.

Syntax

public enum SocketShutdown

Remarks

The System.Net.Sockets.SocketShutdown enumeration defines the values that can be passed to the Socket.Shutdown(SocketShutdown) method.

Members

Member NameDescription
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.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0, 4.0.0.0