Technical data

udp(7P) Protocols SunOS 5.5
SEE ALSO read(2), write(2), bind(3N), connect(3N), recv(3N), send(3N), icmp(7P), inet(7P), ip(7P),
tcp(7P)
Postel, Jon, User Datagram Protocol, RFC 768, Network Information Center, SRI Interna-
tional, Menlo Park, Calif., August 1980
DIAGNOSTICS A socket operation may fail if:
EISCONN A connect() operation was attempted on a socket on which a con-
nect() operation had already been performed, and the socket
could not be successfully disconnected before making the new
connection.
EISCONN A sendto() or sendmsg() operation specifying an address to
which the message should be sent was attempted on a socket on
which a connect() operation had already been performed.
ENOTCONN A send() or write() operation, or a sendto() or sendmsg( ) opera-
tion not specifying an address to which the message should be
sent, was attempted on a socket on which a connect( ) operation
had not already been performed.
EADDRINUSE A bind() operation was attempted on a socket with a network
address/port pair that has already been bound to another socket.
EADDRNOTAVAIL A bind() operation was attempted on a socket with a network
address for which no network interface exists.
EINVAL A sendmsg() operation with a non-NULL msg_accrights was
attempted.
EACCES A bind() operation was attempted with a “reserved” port number
and the effective userID of the process was not the privileged user.
ENOBUFS The system ran out of memory for internal data structures.
7P-392 modified 3 Jul 1990