-
responder.rs -
REP
server with simple-messaging. -
requester.rs -
REQ
client with simple-messaging.
-
echo-pair.rs - Sending and receiving simple messages with futures.
A PAIR of sockets is created. The
sender
socket sends a message, and thereceiver
gets it. -
echo-push-pull-multipart - Sending and receiving multi-part messages with futures.
This time we use
PUSH
andPULL
sockets to move multi-part messages.Remember that ZMQ will either send all parts or none at all. Save goes for receiving.
- echo-push-pull-multipart - Sending and receiving multi-part messages with futures.
-
echo-pub-sub - Manual use of tokio tranports with
Sink
andStream
This time, we use
PUB
-SUB
sockets to send and receive a message.