[zeromq-dev] Issue when using pub / sub after any other pair
Pavel Chlupáček
chlupacek at gmail.com
Thu May 19 16:03:21 CEST 2011
Well doesn't seem so, as it is in one single thread. So the bind, connect, send, rcv after each other in sequence.
Also please note that if I run this as first test it never fails. It always fails though, when there is test with other socket pair before the PUB/SUB pair
On May 19, 2011, at 12:22 PM, Martin Sustrik wrote:
> On 05/19/2011 12:18 PM, Pavel Chlupáček wrote:
>
>> I have double checked code several times. Still don't see it to be
>> wrongly-coded. I am missing something with PUB/SUB so the behavior is
>> in fact correct?
>
> May be a timing issue. Depends on how your test looks like. For example, if you start publishing messages before the peer is connected, the messages are dropped.
>
> Martin
More information about the zeromq-dev
mailing list