INF: Readpipe Return CodesID: Q110905
|
Two applications, Makepipe and Readpipe, are available to help diagnose problems creating and reading Named Pipes over the network. This article describes some of the more common return codes from the MS-DOS, OS/2, Windows and Windows NT versions of these applications.
Named Pipes provide an easy access conduit for reliable connection-oriented
data transfer between two processes. These two processes are normally
differentiated as a client process and a server process.
The server process (Makepipe) creates the pipe and manages access to it.
The resources that make up the pipe are owned by the server process and
physically exist on the station where the server process is running. The
client process (Readpipe) uses the services of the underlying network
protocols to access the remote pipe resources.
The server process (Makepipe) creates the named pipe and waits for a client
to connect on the other end. The call to create the pipe (DosMakeNmPipe)
returns a handle to the pipe. The client process (Readpipe) uses DosOpen
and the name of the pipe to connect. Upon successful connection, DosOpen
returns a handle to the pipe. Both sides can now use their respective
handles to write to (DosWrite) and read from (DosRead) the pipe.
Both Makepipe (Server - OS/2, Windows NT), Readpipe (Client - OS/2, MS-DOS,
Windows NT) and READPIPW.EXE (Client - Windows) are executable files used
to determine if a Named Pipe Session from the Server is able to communicate
with the Client on a supported network.
The following are the return codes that are commonly seen when encountering
problems with Readpipe or the network:
STATUS DESCRIPTION POSSIBLE CAUSE
---------------------------------------------------------------------------
3 Path Not Found Named Pipes not installed correctly
5 Access Denied Permissions not granted on Named Pipes
6 Invalid Handle Network layer problem - check hardware
13 Invalid Data Wrong version of NETAPI.DLL
53 Network Name Not Found Network layer problem
65 Network Access Denied Permissions not granted on Named Pipes
84 Out of Structures Configuration settings
109 Broken Pipe Network layer problem
110 Open Failed Possible protocol incompatibility
206 Filename Exceeded Range Server name more than eight characters
231 Pipe Busy Pipe is not available
Q68941 Procedure for Testing Named Pipes
Additional query words:
Keywords : kbprg kbtool SSrvServer
Version : WINDOWS:4.2; winnt:7.0
Platform : WINDOWS winnt
Issue type : kbinfo
Last Reviewed: July 19, 1999