chickadee » socket » socket-shutdown

socket-shutdown so howprocedure
shut/rdconstant
shut/wrconstant
shut/rdwrconstant

Shutdown the full-duplex connection on socket so in the manner of how:

shut/rd
disallow further receiving
shut/wr
disallow further sending
shut/rdwr
disallow further receiving and sending

The system normally shuts down the connection itself when closing, so calling this manually is not often necessary. One usage example is using shut/wr to inform a server you have finished transmitting, while allowing it to continue sending to you.