package zmq

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

zmq-5.1.2.tbz
sha256=04e6278336a8bd3d24215912b8de129673675a5fd84acaa969a30b8c93aba05f
sha512=26ecf349651a1ff67df6c5e39d7f9bc27831da2dcbbad660c7293dd0e2e8cbeaf0b5bc8d9b1842db55e1d237581d42136f1e817b1fb018ad3d65840e356f59e1

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.