PRB: TransactNamedPipe() Returns Error 230ID: Q140022
|
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).
The client side is running in byte mode as opposed to message mode as required by TransactNamedPipe().
Use SetNamedPipeHandleState() to set the pipe mode to message mode on the client side.
This behavior is by design.
If the client and server are running on the same computer, it is possible
to open the client side without explicitly specifying the computer name
using this format:
\\.\pipe\test
\\Server\pipe\test
Keywords : kbnetwork kbAPI kbIPC kbNTOS350 kbNTOS351 kbPipes kbSDKPlatform kbGrpNet
Version :
Platform :
Issue type : kbprb
Last Reviewed: March 6, 1999