Reference: shutdown
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:38:02Z

#

| Chapter 5 Function Reference |

## shutdown

    shutdown socket, how

Shuts down a socket connection in the manner indicated by how. If how is `0`, further receives are disallowed. If how is `1`, further sends are disallowed. If how is `2`, everything is disallowed.

(This function will not shut down your system; you'll have to execute an external program to do that. See `system`.)

Reference: shmwrite |  | Reference: sin