From owner-freebsd-hackers Wed Feb 10 08:42:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA19653 for freebsd-hackers-outgoing; Wed, 10 Feb 1999 08:42:57 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA19646 for ; Wed, 10 Feb 1999 08:42:55 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id JAA23796; Wed, 10 Feb 1999 09:45:32 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp04.primenet.com, id smtpd023692; Wed Feb 10 09:45:22 1999 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id JAA10080; Wed, 10 Feb 1999 09:42:26 -0700 (MST) From: Terry Lambert Message-Id: <199902101642.JAA10080@usr07.primenet.com> Subject: Re: portability of shm, mmap, pipes and socket IPC To: dg@root.com Date: Wed, 10 Feb 1999 16:42:26 +0000 (GMT) Cc: tlambert@primenet.com, peter@netplex.com.au, kuku@gilberto.physik.RWTH-Aachen.DE, hackers@FreeBSD.ORG In-Reply-To: <199902101633.IAA16644@implode.root.com> from "David Greenman" at Feb 10, 99 08:33:43 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> > > pipes - ? named pipes? > >> > > >> > FreeBSD pipes are bidirectional, since they are implemented with the > >> > AF_UNIX socket code. > >> > >> Rubbish! They are quite seperate to an AF_UNIX socketpair() and have been > >> for a *long* time (since 1996 when 2.2 was branched). > > > >Sorry again; I got confused. It's the IPC code that's implemented with > >the sys_socket.c's struct fileops referenced by uipc_syscalls.c. > > Wrong file for pipes. See sys_pipe.c. Right. I am no longer pointing at the pipes and sockets as sharing code, I'm pointing at the socket and the SysV IPC. I was agreeing with Peter that I was wrong about the pipe code being shared. Oh, in case it got lost in the ensuing discussion because of my mistake: FreeBSD pipes *are* bidirectional, which is a difference from Linux and other OS's, in general. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message