package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-lwt-5.1.4.tbz
sha256=7e39ff4f4930e5c4fcb66235de54a2b8ebdb2d3efbd3f44c6f3b61fd07b8e8ed
sha512=c086989220a831359707e8be04a9fcc5817d3145e5da89bb9210ed3619611ed47b0cedb7d3c2319d6e2fc5ca0f48aa2e46bde72b0bee824594a019c6dcc624c0

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.