Quantcast
Channel: Active questions tagged zeromq - Stack Overflow
Viewing all articles
Browse latest Browse all 208

Peer to peer communication using ROUTER-DEALER

$
0
0

I want to establish a communication between two peers (lets say A and B). Where A most of the time sends a message to B and B may or may not reply depending on the message and vice versa. I can think of two set of PUSH PULL socket on both peers, but is the same applicable for ROUTER DEALER but with only one socket? I mean whether it is possible to open a ROUTER socket in A and DEALER socket in B and achieve the above mentioned communication scenario.

I have tried with ROUTER DEALER using cppzmq and able to send message from one peer to another peer in one way communication (i.e. no reply).


Viewing all articles
Browse latest Browse all 208

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>