mirror of https://github.com/mkerrisk/man-pages
send.2: ERRORS: Add EAGAIN for ephemeral port range exhaustion
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
cbe3d857bd
commit
16f7b04c23
13
man2/send.2
13
man2/send.2
|
@ -321,6 +321,19 @@ POSIX.1-2001 allows either error to be returned for this case,
|
|||
and does not require these constants to have the same value,
|
||||
so a portable application should check for both possibilities.
|
||||
.TP
|
||||
.B EAGAIN
|
||||
(Internet domain datagram 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 EBADF
|
||||
An invalid descriptor was specified.
|
||||
.TP
|
||||
|
|
Loading…
Reference in New Issue