I have an outputstream, to which the client A is writing , I need to forward it in byte chuncks to client B.
I'd like to connect the output stream of client A with the output stream of client B. Is that possible? What are ways to do that? I don't need to fork/clone I rather need to take some of the data from stream A and move it to stream B(i.e the data don't stay in stream A)
Note:A and B are processes and outputstream of client A can't be directly supplied to client B. Constraint:Limited memory