package zmq
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=85529f693ad416a101b2fe61141ec9c2c47adf43340ca9ea841d101e9c5c1ca7
sha512=b0c8e1f0ef0466fe4c45ebcb6d5d975931d7cbaac906a440d1123a1557caf8ca4d47c8f6877dd25db96a2b5b136be49b4f345eb1f98c249476cea203ec9297ac
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