Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (s and S) spt_sendtox(2)
[EACCES] The socket is in the AF_UNIX domain and either search permission is denied for
a component of the pathname in the sockaddr structure, or write access to the
specified socket is denied.
[EAFNOSUPPORT]
You cannot use addresses in the specified address family with this socket.
[EBADF] The socket parameter is not a valid file descriptor.
[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 does not have its peer address set, and
no destination address was specified.
[EFAULT] A user-supplied memory buffer cannot be accessed.
[EHOSTUNREACH]
The destination host cannot be reached.
[EINTR] A signal interrupted the function before any data was transmitted.
[EIO] The socket is in the AF_UNIX domain and an input or output error occurred.
[EINVAL] The dest_len parameter is not a valid length for the address family.
[ELOOP] The socket is in the AF_UNIX domain and too many symbolic links were
encountered in translating the pathname in the sockaddr structure.
[EMSGSIZE] The message is too large to be sent all at once, as required by the socket.
[ENAMETOOLONG]
The socket is in the AF_UNIX domain and one of the following conditions
exists:
• The pathname in the sockaddr structure exceeds PATH_MAX charac-
ters.
• A component of the pathname in the sockaddr structure exceeds
NAME_MAX characters.
• The intermediate result of pathname resolution when a symbolic link is
part of the pathname in the sockaddr structure exceeds PATH_MAX
characters.
You can call the pathconf() function to obtain the applicable limits.
[ENETDOWN]
The local interface used to reach the destination is down.
527186-023 Hewlett-Packard Company 7−405