Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (s and S) spt_sendx(2)
[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] Required memory resources were not available. A retry at a later time might
succeed.
[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.
RELATED INFORMATION
Functions: connect(2), fcntl(2), getsockopt(2), recv(2), recvfrom(2), recvmsg(2), select(2),
send(2), sendmsg(2), sendto(2), setsockopt(2), sockatmark(2), shutdown(2), socket(2),
spt_recvx(2), spt_recvfromx(2), spt_recvmsgx(2), spt_send(2), spt_sendtox(2),
spt_sendmsgx(2).
STANDARDS CONFORMANCE
This function is an extension to the UNIX 98 specification. Interfaces documented on this refer-
ence page conform to the following industry standards:
• IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header file spthread.h is an HP exception to the POSIX standard.
527186-023 Hewlett-Packard Company 7−409