Andrej Mitrovic Wrote:

>     foreach (ubyte[] buffer; stdin.byChunk(bufferSize))
>     {
>         immutable(ubyte)[] copy_buffer;
>         copy(buffer, copy_buffer);
>         
>         writeln(copy_buffer);  // writes nothing
> 
>         send(tid, copy_buffer);
>     }

Isn't destination the left argument?
Why you don't use send(tid, buffer.idup);
?

Reply via email to