mirror of https://github.com/mkerrisk/man-pages
bind.2: ERRORS: Add EADDRINUSE for ephemeral port range exhaustion
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ac7477eb7a
commit
9b533686d8
11
man2/bind.2
11
man2/bind.2
|
@ -163,6 +163,17 @@ The address is protected, and the user is not the superuser.
|
|||
.B EADDRINUSE
|
||||
The given address is already in use.
|
||||
.TP
|
||||
.B EADDRINUSE
|
||||
(Internet domain sockets)
|
||||
The port number was specified as zero in the socket address structure,
|
||||
but, upon attempting to bind 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
|
||||
.BR ip (7).
|
||||
.TP
|
||||
.TP
|
||||
.B EBADF
|
||||
.I sockfd
|
||||
is not a valid descriptor.
|
||||
|
|
Loading…
Reference in New Issue