Very Confused: Named Pipes Problem

Dave Smith dave at thesmithfam.org
Thu Jul 27 22:31:56 MDT 2006


Andrew McNabb wrote:
> On Thu, Jul 27, 2006 at 10:27:26PM -0600, Byron Clark wrote:
>   
>> Sorry, that was a mistake in the explanation.  open(2) for reading _or_
>> writing on a pipe will block until open(2) is called on the other end of
>> the pipe.
>>
>> So, the only thing that matters is that you open the pipes in the same
>> order for both commands.
>>
>>     
>
> There we go.  Now I'm convinced.  Thanks, Byron.
>   

By the way, Andrew, you may like this hack better than netcat and named 
pipes (I do):

    http://thesmithfam.org/blog/?p=21

--Dave



More information about the PLUG mailing list