This function shuts down a socket connection in the manner indicated by
is 0, further receives are disallowed. If
is 1, further sends are disallowed. If
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