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

System Functions (s and S) send(2)
[ECONNRESET]
One of the following conditions occurred:
The transport-provider process for this socket is no longer available.
The TCP/IP subsystem for this socket is no longer available.
The connection was forcibly closed by the peer socket.
The socket can only be closed.
[EDESTADDRREQ]
The socket is not connection-oriented and no peer address is set.
[EFAULT] A user-supplied memory buffer cannot be accessed.
[EINTR] A signal interrupted the function before any data was transmitted.
This error is also returned if the send( ) function is thread-aware and a signal
received from the pthread_kill() function is not blocked, ignored, or handled.
[EIO] An input or output error occurred.
[EMSGSIZE] The message is too large to be sent all at once, as required by the socket.
[ENETDOWN]
The local interface used to reach the destination is down.
[ENETUNREACH]
No route to the network or host is present.
[ENOBUFS] Not enough buffer space was available to complete the call. A retry at a later
time might succeed.
[ENOMEM] There was insufficient memory available to complete the operation.
[ENOTCONN] The socket either is not connected or has not had the peer socket previously
specified.
[ENOTSOCK] The socket parameter does not refer to a socket.
[EOPNOTSUPP]
The specified value for the flags parameter is not supported for this socket type
or protocol.
[EPIPE] One of the following conditions occurred:
An attempt was made to send a message on a socket that is shut down
for writing.
An attempt was made to send a message on a connection-oriented socket
and the peer socket is closed or shut down for reading. The SIGPIPE
signal is also sent to the calling process.
[EWOULDBLOCK]
The socket’s file descriptor is marked nonblocking (O_NONBLOCK is set) and
the operation would block.
527186-023 Hewlett-Packard Company 729