From owner-freebsd-net Sat Jan 20 13:20:33 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 054EC37B402 for ; Sat, 20 Jan 2001 13:20:16 -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 VAA15483; Sat, 20 Jan 2001 21:07:11 GMT Received: from cslin-gps.comp (cslin-gps [129.11.144.9]) by cslin.leeds.ac.uk (8.9.3+Sun/) with ESMTP id VAA05058; Sat, 20 Jan 2001 21:07:12 GMT Date: Sat, 20 Jan 2001 21:07:11 +0000 From: Ben Smithurst To: Garrett Wollman Cc: freebsd-net@FreeBSD.ORG Subject: Re: manual page review: connect(2) EAGAIN error Message-ID: <20010120210711.B30733@comp.leeds.ac.uk> 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> <20010120210514.A30733@comp.leeds.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010120210514.A30733@comp.leeds.ac.uk> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > if (count-- < 0) { /* completely used? */ > /* > * Undo any address bind that may have > * occurred above. > */ > inp->inp_laddr.s_addr = INADDR_ANY; > return (EAGAIN); > } > > ... > > What *should* it return? oops, looks like you already answered that (EADDRNOTAVAIL) in your last message. sorry. If you fix the code to return EADDRNOTAVAIL then the PR can be closed as it will no longer apply. -- 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