summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorwes <wes@FreeBSD.org>2006-08-16 02:56:51 +0000
committerwes <wes@FreeBSD.org>2006-08-16 02:56:51 +0000
commit4ac35ea6d7082b3f87133004949a8acba3ff7b8b (patch)
tree3c173d83bdfaeaaf8a13ab4e70980e0501c20280 /lib
parent0e16635a6c17eafea67e00370173ab9eace2c157 (diff)
downloadFreeBSD-src-4ac35ea6d7082b3f87133004949a8acba3ff7b8b.zip
FreeBSD-src-4ac35ea6d7082b3f87133004949a8acba3ff7b8b.tar.gz
Document EAGAIN failure per PR. (Finally!)
PR: 24125
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/connect.213
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2
index 5b74fbe..80a327d 100644
--- a/lib/libc/sys/connect.2
+++ b/lib/libc/sys/connect.2
@@ -130,6 +130,15 @@ An attempt is made to connect to a broadcast address (obtained through the
constant or the
.Dv INADDR_NONE
return value) through a socket that does not provide broadcast functionality.
+.It Bq Er EAGAIN
+An auto-assigned port number was requested but no auto-assigned ports
+are available. Increasing the port range specified by
+.Xr sysctl 3
+MIB variables
+.Dq Va net.inet.ip.portrange.first
+and
+.Dq Va net.inet.ip.portrange.last
+may alleviate the problem.
.El
.Pp
The following errors are specific to connecting names in the UNIX domain.
@@ -154,7 +163,9 @@ Too many symbolic links were encountered in translating the pathname.
.Xr getpeername 2 ,
.Xr getsockname 2 ,
.Xr select 2 ,
-.Xr socket 2
+.Xr socket 2 ,
+.Xr sysctl 3 ,
+.Xr sysctl 8
.Sh HISTORY
The
.Fn connect
OpenPOWER on IntegriCloud