Reading from named pipes

Koen Dejonghe koen_dejonghe at yahoo.com
Wed Aug 12 09:25:15 GMT 1998


Dear all,

Some time ago there was a discussion here on using named pipes as a
means of transferring data from the PC to UNIX. 

The following example from Brett Worth works very well.
$ mknod pipe p
$ cat pipe
Meanwhile over on the PC...
D:\tmp>echo hello > pipe
Then back at the Unix machine:
$ cat pipe
hello
$

However it does not seem to work in the opposite direction. I am not
able to do a thing like:
On UNIX:
$ echo "hello" > pipe
On the PC:
d:\tmp>type pipe
The last command releases the pipe on UNIX all right but it invariably
returns an empty string.

Any ideas somebody ?


_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



More information about the samba mailing list