diff options
author | Roland McGrath <roland@gnu.org> | 1994-10-16 23:30:46 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-10-16 23:30:46 +0000 |
commit | 261474bb7937dd4054b0f03f1934410b3143453e (patch) | |
tree | 30ab6b8e2ef150038009c1580090a89f236d66cd /manual | |
parent | 3c7f5a29e69b81f0f13078177d2c4abd841cc9c7 (diff) |
(Error Codes): Say that ENOTCONN is instead EDESTADDRREQ for connectionless
sockets.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/errno.texi | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/manual/errno.texi b/manual/errno.texi index 762d471186..25338bc46d 100644 --- a/manual/errno.texi +++ b/manual/errno.texi @@ -422,12 +422,6 @@ A file that isn't a socket was specified when a socket is required. @end deftypevr @comment errno.h -@comment BSD: Destination address required -@deftypevr Macro int EDESTADDRREQ -No destination address was supplied on a socket operation that needed one. -@end deftypevr - -@comment errno.h @comment BSD: Message too long @deftypevr Macro int EMSGSIZE The size of a message sent on a socket was larger than the supported @@ -548,8 +542,15 @@ You tried to connect a socket that is already connected. @comment BSD: Socket is not connected @deftypevr Macro int ENOTCONN The socket is not connected to anything. You get this error when you -try to transmit data over a socket, without first specifying a destination -for the data. +try to transmit data over a socket, without first specifying a +destination for the data. For a connectionless socket (for datagram +protocols, such as UDP), you get @code{EDESTADDRREQ} instead. +@end deftypevr + +@comment errno.h +@comment BSD: Destination address required +@deftypevr Macro int EDESTADDRREQ +No destination address was supplied on a socket operation that needed one. @end deftypevr @comment errno.h |