OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / listen.2
index 55ae728..7226538 100644 (file)
@@ -42,7 +42,7 @@
 .\" Modified 11 May 2001 by Sam Varshavchik <mrsam@courier-mta.com>
 .\"
 .\"
-.TH LISTEN 2 2008-11-20 "Linux" "Linux Programmer's Manual"
+.TH LISTEN 2 2014-05-10 "Linux" "Linux Programmer's Manual"
 .SH NAME
 listen \- listen for connections on a socket
 .SH SYNOPSIS
@@ -89,6 +89,19 @@ is set appropriately.
 .B EADDRINUSE
 Another socket is already listening on the same port.
 .TP
+.B EADDRINUSE
+(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 EBADF
 The argument
 .I sockfd
@@ -172,3 +185,12 @@ See
 .BR connect (2),
 .BR socket (2),
 .BR socket (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.