Named Pipe is losing data!!! - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Named Pipe is losing data!!!

I'm moving data from an ISAPI filter to an out of proc server using Named Pipes. I've been losing data and have narrowed it down to the Named Pipe mechanism.

I have looked all through the documentation and online and nobody else seems to have experienced (or at least documented) losing random pieces of data from within a stream of bytes passed via a NP.

It's driving me up the wall, personally, so I figured I would post a message to see if anyone else might know what I should check for.

My create looks like this:

if ((PipeHandle = CreateNamedPipe("\\.\PIPE\DataPipe",


NUM_PIPES, 0, 3072, 20, NULL)) == INVALID_HANDLE_VALUE){ blah blah blah...

I've changed wait time and inbuffer size around a few times. No difference.

The client call is like this:

if ((PipeHandle = CreateFile(PIPE_NAME,





It works up until I start sending a LOT of data (processing over 100 messages/sec from IIS). But everyone claims this is a reliable IPC mechanism under windows so I don't see why I'm losing stuff. Any help would be a appreciated.


[email protected]

Sign In or Register to comment.