> Hi, > I am new to chicken and got stuck trying to do buffered inter-process > communication. > Could someone give me a hint why in the sample code below `copy_b` > freezes whereas `copy_c` works as expected? > Thanks! >
As read-buffered only returns the data buffered by the last read operation, your code will not work. You should read block-wise by using "read-string" or read byte-wise (as does copy_c in your code). felix