|
Named Pipes
A named pipe is a one-way or two-way pipe for communicating between a server process and
one or more client processes. A server process specifies a name when it calls
the CreateNamedPipe function to create one or more instances of a named pipe. All instances of a
named pipe share the same pipe name, but each instance has its own buffers and
handles and provides a separate conduit for client-server communication. When a
client process specifies a pipe name in the CreateFile or CallNamedPipe function, it connects to an instance of the pipe. The use of instances
enables multiple client processes to use the same named pipe simultaneously.
Subject to security checks, any client process can access a named pipe, making
it easy to communicate between related or unrelated processes. Named pipes can
be used locally to communicate between processes on the same machine or across
a network to connect processes on different machines.
Any process can act as both a server and a client, making peer-to-peer
communication possible. As used here, server refers to a process that uses CreateNamedPipe to create a named pipe, and client refers to a process that uses CreateFile or CallNamedPipe to connect to an instance of a named pipe.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|