Different ways a socket may be shut down.
enum shutdown_type
Shut down the receive side of the socket.
Shut down the send side of the socket.
Shut down both send and receive on the socket.