[zeromq-dev] Pub/Sub multi sockets & PGM

Steven McCoy steven.mccoy at miru.hk
Wed Feb 3 08:27:35 CET 2010

On 3 February 2010 15:16, Olivier <olivier.chamoux at fr.thalesgroup.com>wrote:

> With one topic it works fine, but with two or more, this error appears.
> What am i doing wrong ? Any idea ?
Looks like a bug with the ZMQ PGM code for creating a new socket, OpenPGM is
initialized each and every time.

    //  Init PGM transport.
    //  Ensure threading enabled, ensure timer enabled and find PGM protocol id.
  int rc = pgm_init (&pgm_error);

It's needs to be updated to something like this,

    if (!pgm_supported ())
        rc = pgm_init (&pgm_error);


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100203/1d26b67e/attachment.htm>

More information about the zeromq-dev mailing list