package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-lwt-5.1.4.tbz
sha256=7e39ff4f4930e5c4fcb66235de54a2b8ebdb2d3efbd3f44c6f3b61fd07b8e8ed
sha512=c086989220a831359707e8be04a9fcc5817d3145e5da89bb9210ed3619611ed47b0cedb7d3c2319d6e2fc5ca0f48aa2e46bde72b0bee824594a019c6dcc624c0

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.