Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2001 10:19:15 +0000
From:      Ben Smithurst <csxbcs@comp.leeds.ac.uk>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: manual page review: connect(2) EAGAIN error
Message-ID:  <20010119101915.B16961@comp.leeds.ac.uk>
In-Reply-To: <200101181543.KAA29005@khavrinen.lcs.mit.edu>
References:  <20010118113453.A25127@comp.leeds.ac.uk> <200101181543.KAA29005@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote:

> [EAGAIN] is equivalent to the traditional BSD [EWOULDBLOCK], and might
> be used for connects in non-blocking mode.

oops, I forgot that this is for non-blocking sockets...

+.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?

-- 
Ben Smithurst / csxbcs@comp.leeds.ac.uk / ben@FreeBSD.org


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?20010119101915.B16961>