connect.2: Clarify that ECONREFUSED is for stream sockets

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-11-16 18:43:19 +01:00
parent b5fff4eaee
commit 96a35a8352
1 changed files with 3 additions and 1 deletions

View 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.