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