I recently used ROUTER and DEALER sockets, which used multi-part messages
to separate identity of sender and the message data.

I personally, found this approach quite sophisticated.

But then, I found some use for the PUB and SUB socket pair.
I was surprised to see the examples in the guide not using multi-part
messages.
Instead they used concatenation to append the "TOPIC" to the main message
and then filter out based on that.

Is there a specific reason for doing concatenation, instead of using the
first part of a multi-part message?

Regards,
Dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to