[zeromq-dev] Can a Sub socket send messages to Pub

Ian Barber ian.barber at gmail.com
Sun Aug 26 10:51:25 CEST 2012

On Sun, Aug 26, 2012 at 9:43 AM, Claudio Carbone <erupter at libero.it> wrote:
> Not a definitive answer but I strongly believe the answer is no.
> In another discussion I remember I read that one way sockets are completely
> stripped of the other way's buffer, so you could even try sending but it
> wouldn't do.
> Claudio
> -- Sent from my LG Optimus 2x with K-9 Mail.

That's right, PUB/SUB is one way only. The return channel is used in
ZMQ 3.x for flowing subscriptions upstream but isn't visible to the
user (with the XPUB socket, you can receive the subscription messages,
this shouldn't be used as a return data channel though).


More information about the zeromq-dev mailing list