From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 15 Nov 2003 23:46:05 -0500 From: William Josephson To: 9fans@cse.psu.edu Subject: Re: [9fans] TLSServer? Message-ID: <20031116044605.GA20775@mero.morphisms.net> References: <0a8001c3abf8$2b051ba0$b9844051@insultant.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a8001c3abf8$2b051ba0$b9844051@insultant.net> User-Agent: Mutt/1.4.1i Topicbox-Message-UUID: 8aa5ccd8-eacc-11e9-9e20-41e7f4b1d025 On Sun, Nov 16, 2003 at 05:14:45AM +0100, boyd, rounin wrote: > > You can use socketpair to get a two-way pipe. > > surely you jest. > > 8th Ed had bi-directional pipes [cross connected streams]. Most modern Unix variants have bidirectional pipes, too. Except when they don't. As ugly as it is, socketpair is the portable way to make the bidirectional pipe.