Programming Perl

Programming PerlSearch this book
Previous: 3.2.147 shmwriteChapter 3
Next: 3.2.149 sin

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.)

Previous: 3.2.147 shmwriteProgramming PerlNext: 3.2.149 sin
3.2.147 shmwriteBook Index3.2.149 sin