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

sendto(2) OSS System Calls Reference Manual
[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 file descriptor is marked nonblocking (O_NONBLOCK is set) and
the operation would block.
RELATED INFORMATION
Functions: fcntl(2), getsockopt(2), recv(2), recvfrom(2), recvmsg(2), select(2), send(2),
sendmsg(2), setsockopt(2), shutdown(2), sockatmark(2), socket(2), spt_sendtox(2).
STANDARDS CONFORMANCE
The HP implementation does not return the errno values [EISCONN] or [ENOSR].
The following are HP extensions to the XPG4 specification:
The errno value [ECONNRESET] can be returned when the transport-provider process
is not available.
This function is an extension to the XPG4 Version 2 specification.
The use of this function with the POSIX User Thread Model library conforms to the following
industry standards:
IEEE Std 1003.1-2004, POSIX System Application Program Interface
748 Hewlett-Packard Company 527186-023