package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-5.1.0.tbz
sha256=f1cfefec4dea4bbade8bf4a4042ac3fa1d02e64bcb4fb30da363bba1f54aaddc
sha512=eedfb9b2269c529940cddde5918e0dcc8bba921101c27ee31945d3922d10712a116255248c2e0c569b9c0d3daf27763558afbe87c015b07e68902ce268bef68b

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.