[Chapter 3] 3.2.148 shutdown
Author: Larry Wall, Tom Christiansen & Randal L. Schwartz
Date: 1999-07-02T01:54:08Z

#

| Chapter 3 Functions |

### 3.2.148 shutdown

    shutdown SOCKET, HOW

This function 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.

(If you came here trying to figure out how to shut down your system, you'll have to execute an external program to do that. See system.)

3.2.147 shmwrite |  | 3.2.149 sin