Date: Fri, 19 Jan 2001 09:32:14 -0700 From: Wes Peters <wes@softweyr.com> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Ben Smithurst <csxbcs@comp.leeds.ac.uk>, freebsd-net@FreeBSD.ORG Subject: Re: manual page review: connect(2) EAGAIN error Message-ID: <3A686C0E.D48EC7E9@softweyr.com> References: <20010118113453.A25127@comp.leeds.ac.uk> <200101181543.KAA29005@khavrinen.lcs.mit.edu> <20010119101915.B16961@comp.leeds.ac.uk> <200101191557.KAA10198@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote:
>
> <<On Fri, 19 Jan 2001 10:19:15 +0000, Ben Smithurst <csxbcs@comp.leeds.ac.uk> said:
>
> > +.It Bq Er EAGAIN
> > +A resource was temporarily unavailable when connecting a socket in
> > +non-blocking mode.
> > +This could indicate there are no port numbers available for use when a port
> > +number is being chosen automatically.
> > +Increasing the
> > +.Va net.inet.ip.portrange.last
> > +.Xr sysctl 8
> > +variable (which defaults to 5000) may help this problem.
>
> > Any better?
>
> No -- if the code actually implements that, it's wrong.
If the code implements what? Returning EAGAIN when no ephemeral ports are
available? That is all the above really says, and then provides a hint
as to how to fix it. The description is a little simplistic, as it misses
the lowfirst-lowlast and highfirst-highlast ranges.
--
"Where am I, and what am I doing in this handbasket?"
Wes Peters Softweyr LLC
wes@softweyr.com http://softweyr.com/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A686C0E.D48EC7E9>
