package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-5.3.0.tbz
sha256=b5eb42995836eff58767e1ccc0a6551c2ac74f358094ac2402334389b075fba8
sha512=712eac902ea9c52ac0b47c80a851ee29ca3ea5a69a16ecac2b1ba5c0ff83082a41524e41fdbdeddc7a1c3037e5a4d1494a17ebf7c0b202603f652edab5a1aee7

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) deferred

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

Sourceval send : [ `Router ] t -> id_t -> string list -> unit deferred

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

OCaml

Innovation. Community. Security.