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