Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
spt_sendtox(2) OSS System Calls Reference Manual
[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.
[ENOENT] The socket is in the AF_UNIX domain and one of the following conditions
exists:
• A component of the pathname specified in the sockaddr structure does
not name an existing file.
• The sockaddr structure specifies an empty string as a pathname.
[ENOMEM] Required memory resources were not available. A retry at a later time might
succeed.
[ENOTCONN] The socket is connection-oriented but is not connected.
[ENOTDIR] The socket is in the AF_UNIX domain and the pathname in the sockaddr struc-
ture contains a component that is not a directory.
[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.
[EPERM] The file name specified by the dest_addr parameter is bound to a socket whose
mode is different than the mode of the socket specified by the socket parameter.
[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 SIG-
PIPE 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), sendto(2), setsockopt(2), shutdown(2), sockatmark(2), socket(2), spt_recvx(2),
spt_recvfromx(2), spt_recvmsgx(2), spt_sendto(2), spt_sendx(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.
7−406 Hewlett-Packard Company 527186-023