Alberto wrote: > this give me: > end-of-file whilst reading The reason for the Eof is that you need to flush the output first. In Tango pretty much all IO above the level of a Conduit is buffered, so you'd need to do this: # write (data) (); or # write (data).flush;