mirror of https://github.com/mkerrisk/man-pages
connect.2: ERRORS: Add EADDRNOTAVAIL for ephemeral port range exhaustion
Verified from testing and the kernel source. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745775 Reported-by: William Morriss <wjmelements@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e39a52dbba
commit
ac7477eb7a
|
@ -149,6 +149,19 @@ firewall rule.
|
|||
.B EADDRINUSE
|
||||
Local address is already in use.
|
||||
.TP
|
||||
.B EADDRNOTAVAIL
|
||||
(Internet domain sockets)
|
||||
The socket referred to by
|
||||
.I sockfd
|
||||
had not previously been bound to an address and,
|
||||
upon attempting to bind it to an ephemeral port,
|
||||
it was determined that all port numbers in the ephemeral port range
|
||||
are currently in use.
|
||||
See the discussion of
|
||||
.I /proc/sys/net/ipv4/ip_local_port_range
|
||||
in
|
||||
.BR ip (7).
|
||||
.TP
|
||||
.B EAFNOSUPPORT
|
||||
The passed address didn't have the correct address family in its
|
||||
.I sa_family
|
||||
|
|
Loading…
Reference in New Issue