Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Reading from a Named Pipe

by revdiablo (Prior)
on Sep 28, 2006 at 04:20 UTC ( #575292=note: print w/ replies, xml ) Need Help??


in reply to Reading from a Named Pipe

Create a named pipe with a unique named.

I might be missing something, but I don't see any code here that creates a "unique named" pipe. Nonetheless, that seems like a somewhat strange requirement. The point of a named pipe is that you know its name ahead of time, and you can use it from separate processes. If you only want a temporary pipe to communicate between two processes, a named pipe doesn't seem like the right thing. Again, from your code, it doesn't really look like that's what you're doing, but your text description seemed a bit strange.


Comment on Re: Reading from a Named Pipe
Re^2: Reading from a Named Pipe
by nzgrover (Scribe) on Sep 28, 2006 at 20:28 UTC
    I have no problems creating or destroying the pipe as required, the area i'm concerned about is reading/writing from NP's. Hence I've only shown the code that is to READ from the named pipe.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://575292]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-07-05 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls