Article ID: 140022
Article Last Modified on 10/29/2003
APPLIES TO
- Microsoft Win32 Software Development Kit (SDK) 3.5
- Microsoft Win32 Software Development Kit (SDK) 3.51
This article was previously published under Q140022
SYMPTOMS
When you use Named Pipes and run the client and server on the same
computer, if TransactNamedPipe() is called from the client side, the
error code returned is 230 (the pipe state is invalid).
CAUSE
The client side is running in byte mode as opposed to message mode as
required by TransactNamedPipe().
RESOLUTION
Use SetNamedPipeHandleState() to set the pipe mode to message mode on
the client side.
STATUS
This behavior is by design.
Keywords: kbapi kbpipes kbnetwork kbipc kbprb KB140022