From owner-freebsd-net Fri Jan 19 2:22:11 2001 Delivered-To: freebsd-net@freebsd.org Received: from csunb0.leeds.ac.uk (csunb0.leeds.ac.uk [129.11.144.2]) by hub.freebsd.org (Postfix) with SMTP id C78A037B400 for ; Fri, 19 Jan 2001 02:21:53 -0800 (PST) Received: from cslin.leeds.ac.uk (csunc0.leeds.ac.uk [129.11.144.3]) by csunb0.leeds.ac.uk (8.6.12/8.6.12) with ESMTP id KAA14549; Fri, 19 Jan 2001 10:19:16 GMT Received: from cslin013.leeds.ac.uk (cslin013 [129.11.146.13]) by cslin.leeds.ac.uk (8.9.3+Sun/) with ESMTP id KAA15674; Fri, 19 Jan 2001 10:19:16 GMT Date: Fri, 19 Jan 2001 10:19:15 +0000 From: Ben Smithurst To: Garrett Wollman Cc: freebsd-net@FreeBSD.ORG Subject: Re: manual page review: connect(2) EAGAIN error Message-ID: <20010119101915.B16961@comp.leeds.ac.uk> References: <20010118113453.A25127@comp.leeds.ac.uk> <200101181543.KAA29005@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101181543.KAA29005@khavrinen.lcs.mit.edu> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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