Multiple WriteFile after ERROR_IO_PENDING
问题 In my application, I am testing the behaviour of WriteFile when another Write operation is pending over the named pipe. Pipe is in message mode (not in byte mode). To make write operation pending, I kept the buffer of named pipe quite small and client sends the more data than buffer size. By this way, I am getting write operation pending at the client end. I am facing the following problem at the server end: ReadFile is failed with ERROR_MORE_DATA . It changes the content of the buffer, but