I need to create two threads one for reading and one for writing. I tried to do this with two NamedPipeClientStreams but the second thread faild to Connect. After that I tried to work with one NamedPipeClientStream for both threads but in this case the Read method was blocked and that cause the Write to hang.
Is this concept is right or I missing something with NamedPipes?
How should it be done?