From owner-freebsd-hackers Sat Nov 23 10:34:54 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA07066 for hackers-outgoing; Sat, 23 Nov 1996 10:34:54 -0800 (PST) Received: from dyson.iquest.net ([198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA07061 for ; Sat, 23 Nov 1996 10:34:46 -0800 (PST) Received: (from root@localhost) by dyson.iquest.net (8.8.2/8.6.9) id NAA05663; Sat, 23 Nov 1996 13:34:28 -0500 (EST) From: "John S. Dyson" Message-Id: <199611231834.NAA05663@dyson.iquest.net> Subject: Re: descriptors and sockets and pipes, oh my To: wpaul@skynet.ctr.columbia.edu (Bill Paul) Date: Sat, 23 Nov 1996 13:34:27 -0500 (EST) Cc: hackers@FreeBSD.org In-Reply-To: <199611231802.NAA05597@skynet.ctr.columbia.edu> from "Bill Paul" at Nov 23, 96 01:02:10 pm X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > Lastly, is it still possible to exchange file descriptors with the > new pipe code in 2.2.x? The example in the book uses pipe(), but > that's because pipes were really AF_UNIX sockets in disguise; this > isn't true in FreeBSD 2.2.x anymore. > No, sorry... You can use socketpair(2), I think for that. If there is a great clammoring, I would be willing to fix it (probably a day or so of work.) John