[zeromq-dev] Repost: ZMQ PUB/SUB questions

CFK cfkaran2 at gmail.com
Tue Sep 4 19:50:41 CEST 2012

I'm reposting this in the hopes that someone might be able to help out, and
tell me how to get the addresses right under ZMQ 3.x.  If no-one knows the
answer, that's fine, I'll just stick with ZMQ 2.2.  However, if I can get
it working under 3.x, that would be best.

Cem Karan

---------- Forwarded message ----------
From: CFK <cfkaran2 at gmail.com>
Date: Fri, Aug 31, 2012 at 6:06 PM
Subject: ZMQ PUB/SUB questions
To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>

I'm playing around with the latest ZMQ code (literally; I'm playing with
commit 6347f8b0c9f800b8de1bfe8b9f869ebec9e6511c, which as of right now is
the HEAD), trying get some test code that was working under ZMQ 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://;,;  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.


Cem Karan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120904/3a7962cd/attachment.htm>

More information about the zeromq-dev mailing list