package named-pipe

  1. Overview
  2. Docs
On This Page
  1. Example
  2. Notes
Bindings for named pipes

Install

dune-project
 Dependency

Authors

Maintainers

Sources

named-pipe-0.4.0.tbz
sha256=c602f4d5fdc9f5ff8ec83a0d43608ad76f49f50c4b4bf10774435e7ed8688374
md5=ec3a7aaec3cc0efd6560dd1668da6def

doc/README.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.