Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (s and S) shutdown(2)
[ENOMEM] Required memory resources were not available. A retry at a later time may
succeed.
[ENOTCONN] The socket is not connected.
[ENOTSOCK] The socket parameter does not specify a socket.
RELATED INFORMATION
Functions: getsockopt(2), read(2), recv(2), recvfrom(2), recvmsg(2), select(2), send(2),
sendmsg(2), sendto(2), setsockopt(2), socket(2), write(2).
STANDARDS CONFORMANCE
The HP implementation does not return the errno value [ENOSR].
The following are HP extensions to the XPG4 specification:
The errno value [ECONNRESET] can be returned.
527186-023 Hewlett-Packard Company 791