[zeromq-dev] ZMQ PUB/SUB questions
CFK
cfkaran2 at gmail.com
Sat Sep 1 00:06:25 CEST 2012
I'm playing around with the latest ZMQ code (literally; I'm playing with
commit 6347f8b0c9f800b8de1bfe8b9f869ebec9e6511c, which as of right now the
HEAD), trying get some test code that was working under 2.2 working again
under the latest build. The problem is that an assertion in pgm_socket.cpp
always fails (line 136). I've isolated what is going on to something that
is happening between my publishing socket and my subscribing socket. My
guess is that it is how I'm using them. As I mentioned in an earlier
email, I'm trying to simulate reliable broadcast. I'm doing so by having
each node on my network publish to its own multicast address, and subscribe
to every other node's multicast address. The result is that I have both
the publisher and the subscriber use the same URI. An example of the URIs
in question is epgm://172.18.128.93;239.10.0.49,239.10.0.50;239.10.0.93:5000.
I've posted my complete test application at http://pastebin.ca/2199847 in
case that will help anyone reproduce what I'm seeing. Also, this is
happening under Ubuntu 11.04.
Thoughts?
Thanks,
Cem Karan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120831/928062b8/attachment.htm>
More information about the zeromq-dev
mailing list