Path: utzoo!attcan!uunet!mcvax!kth!sunic!maxim!prc From: prc@erbe.se (Robert Claeson) Newsgroups: comp.unix.wizards Subject: Re: preserving message boundaries on named pipes - System V Message-ID: <683@maxim.erbe.se> Date: 18 May 89 07:43:39 GMT References: <571@lehi3b15.csee.Lehigh.EDU> Reply-To: prc@maxim.UUCP (Robert Claeson) Organization: Hall of Fame Lines: 13 In article <571@lehi3b15.csee.Lehigh.EDU> murrey@lehi3b15.csee.Lehigh.EDU (Erik Murrey) writes: >Is it possible to preserve message boundaries on named pipes under >System V? For instance, if a process sends two separate messages (via >two write()'s) down a named pipe, how can the receiver read those as >two separate messages? You can't, as far as I know. I'd suggest you to take a look at message queues instead. They are also more efficient than pipes since they don't deal with the file system at all. -- Robert Claeson E-mail: rclaeson@erbe.se ERBE DATA AB