]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
connect.2: Clarify that ECONREFUSED is for stream sockets
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 16 Nov 2017 17:43:19 +0000 (18:43 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 16 Nov 2017 17:43:19 +0000 (18:43 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/connect.2

index d55d69bec460d7a3c5319745cb4d3bd64aa6e088..ab5e6f5ecd1781f2e81c59a25f943cd1bda56d0a 100644 (file)
@@ -179,7 +179,9 @@ been completed.
 is not a valid open file descriptor.
 .TP
 .B ECONNREFUSED
-No one listening on the remote address.
+A
+.BR connect ()
+on a stream socket found no one listening on the remote address.
 .TP
 .B EFAULT
 The socket structure address is outside the user's address space.