Date: Sat, 20 Jan 2001 21:07:11 +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: <20010120210711.B30733@comp.leeds.ac.uk> In-Reply-To: <20010120210514.A30733@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>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010120210711.B30733>
