Open System Services System Calls Reference Manual (G06.28+)
System Functions (s and S) spt_sendtox(2)
[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 avail-
able.
• 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 transmit-
ted.
[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 fam-
ily.
[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 characters.
• 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.
The pathconf( ) function can be called to obtain the applicable
limits.
527186-005 Hewlett-Packard Company 7−299