[zeromq-dev] ZMQ PUB/SUB questions
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;220.127.116.11,18.104.22.168;22.214.171.124: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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev