4 Shuts down part of a full-duplex connection on a specified socket.
22 The function has the following parameters:
25 A pointer to a :ref:`PRFileDesc` object representing a connected socket.
27 The kind of disallowed operations on the socket. Possible values
28 include the following:
30 - :ref:`PR_SHUTDOWN_RCV`. Further receives will be disallowed.
31 - :ref:`PR_SHUTDOWN_SEND`. Further sends will be disallowed.
32 - :ref:`PR_SHUTDOWN_BOTH`. Further sends and receives will be
39 The function returns one of the following values:
41 - Upon successful completion of shutdown request, ``PR_SUCCESS``.
42 - If unsuccessful, ``PR_FAILURE``. Further information can be obtained
43 by calling :ref:`PR_GetError`.
49 The ``PRShutdownHow`` enumeration is defined as follows:
53 typedef enum PRShutdownHow{