diff options
author | Wes Peters <wes@FreeBSD.org> | 2006-08-16 02:56:51 +0000 |
---|---|---|
committer | Wes Peters <wes@FreeBSD.org> | 2006-08-16 02:56:51 +0000 |
commit | 25dbf7fe4ecc2f7ee13990bc89c36eed0e961c38 (patch) | |
tree | 3c173d83bdfaeaaf8a13ab4e70980e0501c20280 /lib/libc/sys/connect.2 | |
parent | a88d050dfc66882a6175697fb6e0f9e46328e92d (diff) | |
download | src-25dbf7fe4ecc2f7ee13990bc89c36eed0e961c38.tar.gz src-25dbf7fe4ecc2f7ee13990bc89c36eed0e961c38.zip |
Document EAGAIN failure per PR. (Finally!)
PR: 24125
Notes
Notes:
svn path=/head/; revision=161344
Diffstat (limited to 'lib/libc/sys/connect.2')
-rw-r--r-- | lib/libc/sys/connect.2 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index 5b74fbef80a0..80a327d96ad7 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 |