package zmq
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=24b32de3829a103e548f37e00f7e03fca72a00e1b67d6ee6d3d75fbae31b8806
sha512=7b4c1e7bce06d7f340603c7d56ffc1714c5a0601040d72bbe5591e3ae5cf24e7835b5da7bd525c19632db45059544ddcdeecd507298e993b7b761a764c1d8ff7
doc/zmq.deferred/Zmq_deferred/Socket/Make/index.html
Module Socket.MakeSource
This functor is meant to be as compatible as possible with lwt-zmq. It should be straight forward to write a functor over Async_zmq.Socket and Lwt_zmq.Socket.
The functor allows abstraction of the concurrency monad
Parameters
module T : Deferred.TSignature
An concurrent zeromq socket
of_socket s wraps the zeromq socket s
to_socket s extracts the raw zeromq socket from s
recv socket waits for a message on socket without blocking other concurrent threads
send socket sends a message on socket without blocking other concurrent threads
recv_all socket waits for a multi-part message on socket without blocking other concurrent threads
send_all socket m sends all parts of the multi-part message m on socket without blocking other concurrent threads
recv_msg socket waits for a message on socket without blocking other concurrent threads
send_msg socket sends a message on socket without blocking other concurrent threads
recv_msg_all socket waits for a multi-part message on socket without blocking other concurrent threads
send_msg_all socket m sends all parts of the multi-part message m on socket without blocking other concurrent threads