Shutdown the receiving end of the socket.
c
This function simply calls shutdown system call with SHUT_RD . This can be used to interrupt a thread waiting in yrmcds_recv.
shutdown
SHUT_RD
Note that interrupted yrmcds_recv will return YRMCDS_DISCONNECTED.