]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(Error Codes): Say that ENOTCONN is instead EDESTADDRREQ for connectionless
authorRoland McGrath <roland@gnu.org>
Sun, 16 Oct 1994 23:30:46 +0000 (23:30 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 16 Oct 1994 23:30:46 +0000 (23:30 +0000)
sockets.

manual/errno.texi

index 762d4711863bd9208ff6133882a5155a9af30482..25338bc46d7ca41965e95bd9d930aa0cfdf6ab53 100644 (file)
@@ -421,12 +421,6 @@ mode selected.
 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
@@ -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