[zeromq-dev] Unexpected zero-byte message received on ZMQ-SUB socket

Pieter Hintjens ph at imatix.com
Tue Dec 18 18:19:13 CET 2012


Can you post some sample code of the sender app?

You are perhaps sending a buffer that is then deallocated too soon,
causing binary zeros to be sent.

-Pieter

On Mon, Dec 17, 2012 at 12:26 PM, Divya Mohan <divya.mohan310 at gmail.com> wrote:
> Hi zeromq gurus,
>
>
> I am trying to exchange messages between 4 processes using multicasting
> [epgm: loopback interface].
>
>
> All the 4 processes belong to same group.2 processes send data and other 2
> receive these data. In both subscribing processes I am receiving one zero
> byte message (in between the actual publisher messages).
>
> There are no processes sending empty message on the port as far as I know. I
> am not able to figure out why zero byte message is received. Any help is
> much appreciated J.
>
>
>
> Note: If I have only one publisher process then I don’t receive any zero
> byte message in subscriber processes.
>
>
> Best Regards,
>
> Div
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list