I was trying to build a multi threaded named pipe server/client. The code base is based on this thread, Multithreaded NamePipeServer in C#
The real problem is, i need a bi-directional pipe, to write acknowledgement to cleint. For this, in ProcessClientThread
i tried to create StreamWriter
using the input pipeStream
and write to it, but I'm getting "Broken Pipe" exception. The pipe is PipeDirection.InOut
already.
Any idea?