Eric Lucas on Fri, 11 Apr 2003 15:17:05 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Linux FIFOs


In the case of ASCII files isn't that an EOF character?
When it receives that character, the reading program 
stops reading?

I thought (danger, danger!) that was what happened when you did a 
"close OUTPUT ;" in the perl script writing the signature
to the FIFO.

Eric

Quoting gabriel rosenkoetter <gr@eclipsed.net>:

> On Fri, Apr 11, 2003 at 02:38:01PM -0400, Jeff Weisberg wrote:
> > there is no way for the signature writing program to
> > indicate to the signature reading program "stop reading"
> > over a fifo.
> 
> Sure there is. Use a FIFO for what it's supposed to be: an IPC
> mechanism. Define a protocol that has a machine-legible "stop" in
> its alphabet. Speak that protocol.
> 
> -- 
> gabriel rosenkoetter
> gr@eclipsed.net
> 


-- 
Eric Lucas
----------
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug