Re: Named Pipes
On Sat, Aug 16, 2003 at 03:57:28PM -0700, moseley@hank.org wrote:
> On Sat, Aug 16, 2003 at 11:16:04PM +0200, David Fokkema wrote:
> > On Sat, Aug 16, 2003 at 06:24:09AM -0700, moseley@hank.org wrote:
> > >
> > > I wanted to use a named pipe to provide random images.
>
> > Do you have a particular task in mind? If so, maybe someone knows of an
> > alternative way without depending on named pipes.
>
> Well, yes a random image "file". I was thinking for using it for xdm at
> first, but when I started thinking about it I ended up wondering more
> about named pipes than the task I started out to solve.
>
> There's a lot of ways to do random images, I just though a named pipe
> might be a simple way to do it. Which is is.
If you can use a socket, you can set up a server under inetd. In that
case the program will be started automatically when someone connects to
that port. It doesn't give you a file in the file system, though.
--
René Seindal (rene@seindal.dk) http://sights.seindal.dk/
Reply to: