[zeromq-dev] PUB doesn't discard msg when no SUB

Pieter Hintjens ph at imatix.com
Thu May 26 21:42:47 CEST 2011

On Thu, May 26, 2011 at 12:27 PM, Chuck Remes <cremes.devlist at mac.com> wrote:

>> So, what I did to make the behaviour more user friendly was to create a
>> "queue" as soon az zmq_connect() is called. It is then attached to the
>> actual network connection when it is established.
> Please don't change this behavior.

The behavior sounds excellent but needs to be documented, especially
since it breaks the principle that connect/bind order has no effect on
message flow. I'd prefer that the Guide not act as formal
documentation, that should be the man pages. We can obviously expand
on areas that are complex to understand.

I recall from older threads that there are one or two other areas
where bind/connect order does impact message flow, e.g. with PUSH/PULL
and presumably also with DEALER sockets.


More information about the zeromq-dev mailing list