Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 23:16:17 -0700
From:      Sean Chittenden <sean-freebsd-hackers@chittenden.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: What happens to a connection between a select and accept...
Message-ID:  <20010624231617.C44590@rand.tgd.net>
In-Reply-To: <xzp1yo91476.fsf@flood.ping.uio.no>; from "des@ofug.org" on Mon, Jun 25, 2001 at = 08:09:01AM
References:  <20010624195910.A44590@rand.tgd.net> <xzp1yo91476.fsf@flood.ping.uio.no>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
> 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!  
-sc


-- 
Sean Chittenden

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: Sean Chittenden <sean@chittenden.org>

iEYEARECAAYFAjs21zEACgkQn09c7x7d+q2CuQCffGtSk488XvgWWmyA50KKi2ZR
XZIAmQHlOQ0FYm8xQ1Sw472XqsAx4SLp
=F/UD
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010624231617.C44590>