package named-pipe

  1. Overview
  2. Docs
Bindings for named pipes

Install

Dune Dependency

Authors

Maintainers

Sources

named-pipe-0.4.0.tbz
md5=ec3a7aaec3cc0efd6560dd1668da6def

README.md.html

OCaml bindings for named pipes

Named pipes are used on Windows for local (and remote) IPC. Where a Unix system would use a Unix domain socket, a Windows system will probably used a named pipe.

Example

To build:

oasis setup
make

To run a server:

./_build/src/pipecat.native -l \\\\.\\pipe\\mynamedpipe

To run a client:

./_build/src/pipecat.native \\\\.\\pipe\\mynamedpipe

Notes

Named pipes have a number of significant differences to Unix domain sockets to be careful. These bindings attempt to disable remote connections and disable security context impersonation but there may be other issues.