.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)shutdown.2 6.1 (Berkeley) %G%
shutdown \- shut down part of a full-duplex connection
call causes all or part of a full-duplex connection on
the socket associated with
If \fIhow\fP is 0, then further receives will be disallowed.
If \fIhow\fP is 1, then further sends will be disallowed.
If \fIhow\fP is 2, then further sends and receives will be disallowed.
A 0 is returned if the call succeeds, \-1 if it fails.
The call succeeds unless:
is not a valid descriptor.
The specified socket is not connected.