package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-5.1.1.tbz
sha256=15d6fa5180fa1a4bbe08d1f5bcad4f85fb6de62ec92c45579825939348f0fafe
sha512=abce48c2337799a5bd879df9894bc12fd2c1d101afbdea9a5bf471b7858bc8c8fab18fa5c7e6b6221b96d0699110b1f63b580ec31cdf93ec5546a9a982503ea1

doc/zmq.deferred/Zmq_deferred/Socket/Make/Router/index.html

Module Make.RouterSource

Sourcetype id_t

Identity of a socket connected to the router.

Sourceval id_of_string : string -> id_t

id_of_string s coerces s into an id_t.

Sourceval recv : [ `Router ] t -> (id_t * string list) T.Deferred.t

recv socket waits for a message on socket without blocking other Lwt threads.

Sourceval send : [ `Router ] t -> id_t -> string list -> unit T.Deferred.t

send socket id message sends message on socket to id without blocking other Lwt threads.

OCaml

Innovation. Community. Security.