O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)SocketShutdown

Passed To

Socket.Shutdown()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required