Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!chinacat!sequoia!rpp386!jfh From: jfh@rpp386.cactus.org (John F Haugh II) Newsgroups: comp.unix.internals Subject: Re: Regular pipe vs. Named Pipe Message-ID: <19382@rpp386.cactus.org> Date: 14 Jun 91 01:49:28 GMT References: <14192: Jun923:16:0791@kramden.acf.nyu.edu> <2736@root44.co.uk> <25101:Jun1217:29:0291@kramden.acf.nyu.edu> <1991Jun13.143802.3600@chinet.chi.il.us> Reply-To: jfh@rpp386.cactus.org (John F Haugh II) Organization: Lone Star Cat Grill and Sushi Bar, The Republic of Texas Lines: 32 X-Clever-Slogan: Please send money. I need another NRA Life Membership. In article <1991Jun13.143802.3600@chinet.chi.il.us> les@chinet.chi.il.us (Leslie Mikesell) writes: >In article <25101:Jun1217:29:0291@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: >>I meant what I wrote. A program which supports message queues and >>UNIX-domain sockets will work correctly on far more machines than a >>program which supports named pipes. In fact, a program which does >>anything with named pipes that couldn't be done with pipes is almost >>certainly going to fail on one of (A) SunOS; (B) Ultrix; (C) SVR4. > >Does "anything" include open()? And by more machines, do you mean >more types of machine or more existing machines? I'd guess that >386's running SysVr3 or Xenix are the biggest chunk of the unix >market right now and they won't have sockets unless they come with >an add-on TCP/IP package. Dan's statement is pretty much a bunch of nonsense. Since named pipes predate the current variety of message queues [ or at least are no newer than ... ] there are at least as many systems which support named pipes as support System V message queues - and remember than BSD didn't have the same message quees as System V, so screw the issue of BSD sockets. Named pipes can be implemented with a virtual device driver, in fact this is one of the first device drivers I ever wrote, and exactly because I didn't have an IPC mechanism on the platform I was using. Since named pipes can be simulated with a device driver, and since all UNIX's have device drivers, Dan's statement falls flat. -- John F. Haugh II | Distribution to | UUCP: ...!cs.utexas.edu!rpp386!jfh Ma Bell: (512) 255-8251 | GEnie PROHIBITED :-) | Domain: jfh@rpp386.cactus.org "If liberals interpreted the 2nd Amendment the same way they interpret the rest of the Constitution, gun ownership would be mandatory."