From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2 Received: (qmail 23311 invoked from network); 23 Mar 2020 08:56:30 -0000 Received-SPF: pass (minnie.tuhs.org: domain of minnie.tuhs.org designates 45.79.103.53 as permitted sender) receiver=inbox.vuxu.org; client-ip=45.79.103.53 envelope-from= Received: from unknown (HELO minnie.tuhs.org) (45.79.103.53) by inbox.vuxu.org with ESMTP; 23 Mar 2020 08:56:30 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 9A5E09D72D; Mon, 23 Mar 2020 18:56:24 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id D65D59D70C; Mon, 23 Mar 2020 18:55:55 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id F33FA9BD9B; Mon, 23 Mar 2020 18:55:52 +1000 (AEST) X-Greylist: delayed 367 seconds by postgrey-1.36 at minnie.tuhs.org; Mon, 23 Mar 2020 18:55:52 AEST Received: from nimbus.fccf.net (nimbus.fccf.net [185.117.82.79]) by minnie.tuhs.org (Postfix) with ESMTPS id 07C9F9BD9B for ; Mon, 23 Mar 2020 18:55:52 +1000 (AEST) Received: from straylight.m.ringlet.net (unknown [93.152.146.108]) by nimbus.fccf.net (Postfix) with ESMTPSA id 774C7341 for ; Mon, 23 Mar 2020 10:49:43 +0200 (EET) Received: from roam (uid 1000) (envelope-from roam@ringlet.net) id 6200cd by straylight.m.ringlet.net (DragonFly Mail Agent v0.12); Mon, 23 Mar 2020 10:49:43 +0200 Date: Mon, 23 Mar 2020 10:49:43 +0200 From: Peter Pentchev To: tuhs@minnie.tuhs.org Message-ID: <20200323084943.GA341861@straylight.m.ringlet.net> References: <20200306224431.D226C18C080@mercury.lcs.mit.edu> <3D1DBF45-AE50-4027-8AAA-6C1D97D28D4D@planet.nl> <20200307163935.GA57521@clarinet.employees.org> <20200308151332.GA70333@clarinet.employees.org> <5dbf2153-5993-242a-5ba9-54b49a38569e@spamtrap.tnetconsulting.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <5dbf2153-5993-242a-5ba9-54b49a38569e@spamtrap.tnetconsulting.net> Subject: Re: [TUHS] sockets (was Re: First appearance of named pipes) X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 09, 2020 at 05:22:57PM -0600, Grant Taylor via TUHS wrote: > On 3/8/20 9:13 AM, Derek Fawcus wrote: > > Now what would have been useful is a way to have distinct fd's for the > > local read and write end of (e.g.) a TCP socket - such that one > > direction could be closed w/o closing the other. >=20 > I believe that this can be done, now. At least I've read that it's possi= ble > for one end to close (FIN) a TCP connection without the other end also > closing. Thus you end up with the one-way data flow that is still ACKed = the > way that TCP does. Yep, in the next sentence Derek mentioned "dispense with shutdown", meaning the shutdown(2) syscall that does exactly that. What he meant was, wouldn't it be nice to be able to do that with close(2) instead? G'luck, Peter --=20 Peter Pentchev roam@{ringlet.net,debian.org,FreeBSD.org} pp@storpool.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAl54eCYACgkQZR7vsCUn 3xPWhBAAhjm6fSCu1w1XknoRwZXaR5+zEmYChyZaHQANHuFi6EX+3v/WeljAS0q8 J8qV1FFa/GmLKpuofRQaYVjDtAGxVMUj087UPjGvRj8Wh+l+7i7FPrm86/HPDrHH NWqvAcSr5pUmMUt3n10jtupe6FlpyZMSYG7XDyp8pGLTa42QGNPcBYqL21kxMh+N h+zIF/LULeFSKdkf96CARFpdiJNktNoX7EQC61pOK4qL9347QV/VcRBtMZ7i1kaf YlXadyTyBqAgtas7PHE07hLMDfmJ7vOXxxSD45CYtn2de9FIiVAFyu6kFkAdnRUa kFXWxfjLWrGkL7hqJLJtLnBGOlW1Rf4c9MKP7i5vH7y0I9+0ooFFPc2kwShwXVBy /6FXbGJFuVj5jpr0Z0bOlIg6BbXg1zoZLMgp2A+vt9Lyt3nfu4777rlOaOPu7WUa pR3gtQocUwu1ByKrySkM0S29o5I1q3bI1qdhSnMmo4d3HtXOyo/gNgE9yKfnMdwS q+ruGVmj0Z7uC4QcsHtfz5pdjmF7XWOYLc5aIAWT0/msJMNtwBd82vwN/1BMctSt Tcb+kUShKH/3XCmhHNpfqHJmGyi4nrUdk5YJe+sQjPYR2gjagMevm2IoZONfpmAp AhofRSr/9Cdd/TkQvZNWtxRnzQVi9+a1eBqaBeay4wljHKoJJ3s= =NMAk -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--