The directions shutdown can close: RD stops receiving, WR stops sending (the peer then reads end of stream) and RDWR closes both. The SHUT_-prefixed names are the same values.
shutdown
RD
WR
RDWR
SHUT_