From owner-freebsd-hackers Sun Jun 24 23:16:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.tgd.net (rand.tgd.net [64.81.67.117]) by hub.freebsd.org (Postfix) with SMTP id 86F8237B401 for ; Sun, 24 Jun 2001 23:16:23 -0700 (PDT) (envelope-from sean@mailhost.tgd.net) Received: (qmail 66435 invoked by uid 1001); 25 Jun 2001 06:16:17 -0000 Date: Sun, 24 Jun 2001 23:16:17 -0700 From: Sean Chittenden To: Dag-Erling Smorgrav Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: What happens to a connection between a select and accept... Message-ID: <20010624231617.C44590@rand.tgd.net> References: <20010624195910.A44590@rand.tgd.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O3RTKUHj+75w1tg5" Content-Disposition: inline In-Reply-To: ; from "des@ofug.org" on Mon, Jun 25, 2001 at = 08:09:01AM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --O3RTKUHj+75w1tg5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > There was one in FreeBSD too. It's been fixed; accept(2) will return > -1 and set errno to ECONNABORTED, which you'd know if you'd RTFM. Already RTFM'd. The following was a tad vague and it led me to be a skeptic. It is possible to select(2) a socket for the purposes of doing an accept() by selecting it for read. Thanks for your help though, that was what I was hoping to hear! =20 -sc --=20 Sean Chittenden --O3RTKUHj+75w1tg5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden iEYEARECAAYFAjs21zEACgkQn09c7x7d+q2CuQCffGtSk488XvgWWmyA50KKi2ZR XZIAmQHlOQ0FYm8xQ1Sw472XqsAx4SLp =F/UD -----END PGP SIGNATURE----- --O3RTKUHj+75w1tg5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message