package named-pipe

  1. Overview
  2. Docs
Bindings for named pipes

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

doc/named-pipe.lwt/Named_pipe_lwt/Client/index.html

Module Named_pipe_lwt.Client

type t

A connection to a named pipe server

val openpipe : string -> t Lwt.t

Connect to the named pipe server on the given path (e.g. \\.\pipe\foo). If the server isn't running then this raises Unix_error(Unix.ENOENT...). If the server is busy then this function blocks.

val to_fd : t -> Lwt_unix.file_descr