package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-lwt-5.1.5.tbz
sha256=9947d13dab4b3c5792cd60f0088a0569597ce5592f0dc8788baa4e9f72a67b56
sha512=0a16f0fde3f2dba1c2676d9792a330ef73cef6809c3f0446a0e4c78623856a2532a9bdce5317472e87490b4dd35082e179074b9160a38924aa72d73cddec8bea

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.