SocketShutdown SocketShutdown SocketShutdown SocketShutdown Enum

Definition

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

public enum class SocketShutdown
public enum SocketShutdown
type SocketShutdown = 
Public Enum SocketShutdown
Inheritance
SocketShutdownSocketShutdownSocketShutdownSocketShutdown

Fields

Both Both Both Both 2

Disables a Socket for both sending and receiving. This field is constant.

Receive Receive Receive Receive 0

Disables a Socket for receiving. This field is constant.

Send Send Send Send 1

Disables a Socket for sending. This field is constant.

Remarks

The SocketShutdown enumeration defines the values that can be passed to the Socket.Shutdown method.

Applies to