Named Pipe Problem



I am using Visual C++ version 8.x to create a named pipe client and
multithreaded server. The problem is that the client is getting hung
up on a call to WriteFile on the named pipe when under load. I have
packaged everything up into a zip
file. To start the test I open two "Visual Studio 2005 Command Prompt"
windows. In the
...../pipetest/debug directory I run "pipetest -server" then in the
other window in the same directory I run "pipetest -client".

The zip file can be found here:
www.lyonsland.com/pipeproblem/pipetest.zip

This includes the Visual Studio project, source code, and exes in the
debug directory.

I am sure that the problem has something to do with how I configure the
named pipe but I can not figure it out. I have posted this question
all over and have not made any progress. It is driving me nuts.

Thanks for any help,
Mike

.