package zmq

  1. Overview
  2. Docs
OCaml bindings for ZeroMQ 4.x

Install

dune-project
 Dependency

Authors

Maintainers

Sources

zmq-5.2.1.tbz
sha256=85529f693ad416a101b2fe61141ec9c2c47adf43340ca9ea841d101e9c5c1ca7
sha512=b0c8e1f0ef0466fe4c45ebcb6d5d975931d7cbaac906a440d1123a1557caf8ca4d47c8f6877dd25db96a2b5b136be49b4f345eb1f98c249476cea203ec9297ac

doc/zmq.deferred/Zmq_deferred/Socket/Make/argument-1-T/Fd/index.html

Module T.Fd

type t
val create : Unix.file_descr -> t
val wait_readable : t -> unit Deferred.t

Wait for the fd to become readable. It is important that all waiters on the socket are woken up, and not just one, as the fd is used as a broadcast mechanism.

The Fd must _NOT_ be closed, as its owned by Zmq.

val release : t -> unit Deferred.t
OCaml

Innovation. Community. Security.