ftp.nice.ch/peanuts/GeneralData/Usenet/news/1990/CSN-90.tar.gz#/comp-sys-next/1990/Sep/Named-pipes-and-Next

This is Named-pipes-and-Next in view mode; [Up]


Date: Sun 11-Sep-1990 22:39:20 From: Unknown Subject: Named pipes and Next I am writing a utility that uses named pipes (created by 'mknod p name'). It works fine on suns, decs and even IBM aix. Only today I found out the NeXT (I'm not sure about Mach in general) does not support them, and I am looking for a simple alternative. Is there a *simple* way of creating an effective pipe between two independent processes? The Speaker Listener mechanism sounds about right, but I'd rather not go into objective C. Any ideas? Article 7714 of comp.sys.next: >From: wiml@milton.u.washington.edu (William Lewis)
Date: Sun 12-Sep-1990 00:45:17 From: Unknown Subject: Re: Named pipes and Next In article <ERAN.90Sep11153920@adelbert12.stanford.edu> eran@adelbert12.stanford.edu (eran yehudai) writes: >I am writing a utility that uses named pipes (created by 'mknod p >name'). It works fine on suns, decs and even IBM aix. Only today I >found out the NeXT (I'm not sure about Mach in general) does not >support them, and I am looking for a simple alternative. > >Is there a *simple* way of creating an effective pipe between two >independent processes? The Speaker Listener mechanism sounds about >right, but I'd rather not go into objective C. >Any ideas? Well, you could use Unix-domain sockets; they seem sort of named-pipe-like (IMHO). If you want to be Mach or NeXT-specific, you could use Mach ports and the name-server; unless you use NXStreams though you have to invest a little learning about "Mach Interface Generator" and details of mach ports (which I myself still haven't done =8) ). Since this is comp.os.mach + comp.sys.next I guess you're not worried about portability off of a NeXT. Check allocate_port() and NXOpenPort() in the manuals. The nameserver is under netname_check_in() and netname_look_up(). Article 7713 of comp.sys.next: >From: stuart@previous.ADS.COM (Stuart Crawford)
Date: Sun 13-Sep-1990 16:49:29 From: Unknown Subject: Re: Named pipes and Next In article <ERAN.90Sep11153920@adelbert12.stanford.edu> eran@adelbert12.stanford.edu (eran yehudai) writes: > >Is there a *simple* way of creating an effective pipe between two >independent processes? The Speaker Listener mechanism sounds about >right, but I'd rather not go into objective C. >Any ideas? Yes, you use named sockets using the socket and bind commands found in your lovely man pages. Article 7737 of comp.sys.next: >From: u-sgreen%peruvian.utah.edu@cs.utah.edu (Scott Greenman)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.