Overview
Pipes provide means for interprocess communication. There are two types:
- Anonymous pipes provide interprocess communication on a local computer.
- Named pipes provide interprocess communication over a network.
Pipe Type | Communication Direction | Server Instances | Used for communication between… | Implemented Via |
---|---|---|---|---|
Anonymous | One-way | Single | Threads or between parent/child processes | AnonymousPipeServerStream and AnonymousPipeClientStream |
Named | Duplex | Multiple | Two processes over a network | NamedPipeServerStream and NamedPipeClientStream |