package zmq-eio
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Zmq_eio.SocketSource
include Zmq_deferred.Socket.Socket
with type 'a deferred = 'a
and type 'a of_socket_args = sw:Eio.Switch.t -> 'a
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