shutdown
shutdown socket, how
- Shuts down a socket connection in the manner indicated by how. If how is , further receives are disallowed. If how is , further sends are disallowed. If how is , everything is disallowed.
(This function will not shut down your system; you'll have to execute an external program to do that. See
system.)