package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

5.0.0.tar.gz
sha256=831f7f9c206dc9fdbdf037c70907eeaa2716ac2502cf33fd6212f3e91d1fa924
md5=08c6d97f2e5b67c9a77b9e65e10cb417

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

Module Make.Router

type id_t

Identity of a socket connected to the router.

val id_of_string : string -> id_t

id_of_string s coerces s into an id_t.

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

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

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