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).