X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=original%2Fman2%2Fbind.2;h=d4add9a0f0b88586c0d49156d2694561d0fb404d;hb=110dba020f489b75aff2497105f7970c05e2b87c;hp=638a92d86789e4e2be8bc82db0b1b67b50129798;hpb=361fd72f831aabd8a0aa6fe7bc4ef66ef4f89a1b;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man2/bind.2 b/original/man2/bind.2 index 638a92d8..d4add9a0 100644 --- a/original/man2/bind.2 +++ b/original/man2/bind.2 @@ -65,7 +65,7 @@ .\" $Id: bind.2,v 1.3 1999/04/23 19:56:07 freitag Exp $ .\" Modified 2004-06-23 by Michael Kerrisk .\" -.TH BIND 2 2007-12-28 "Linux" "Linux Programmer's Manual" +.TH BIND 2 2014-05-10 "Linux" "Linux Programmer's Manual" .SH NAME bind \- bind a name to a socket .SH SYNOPSIS @@ -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. @@ -330,10 +341,11 @@ main(int argc, char *argv[]) .BR socket (7), .BR unix (7) .SH COLOPHON -This page is part of release 3.65 of the Linux +This page is part of release 3.68 of the Linux .I man-pages project. A description of the project, -and information about reporting bugs, +information about reporting bugs, +and the latest version of this page, can be found at \%http://www.kernel.org/doc/man\-pages/.