Name
SocketShutdown
Synopsis
This enumeration provides values used by Socket.Shutdown()
. Receive
specifies that receiving will be disabled on a socket. Send
specifies that sending will be disabled. Both
disables
sending and receiving.
public enum SocketShutdown { Receive = 0, Send = 1, Both = 2 }
Hierarchy
System.Object→System.ValueType→System.Enum(System.IComparable
, System.IFormattable
, System.IConvertible)→SocketShutdown
Passed To
Socket.Shutdown()
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.