[zeromq-dev] zeromq epgm basic testing

Jim Chan hkgdev at yahoo.com.hk
Wed Feb 26 09:35:55 CET 2014

Hi there,

I'm really new to zmq multicast and would like to try it out with below very simple code:

        void *context = zmq_ctx_new();
        void *socket = zmq_socket (context, ZMQ_PUB);
        int rc = zmq_bind(socket, "epgm://;");

The program aborted due to failed assertion. What is the possible cause of zmq_bind() failure?

I'm running the program on Red Hat Enterprise Linux 6.3, and the multicast route already added. Is there anything I've possibly missed to enable multicast?

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface     *        U     0      0        0 eth0
link-local      *          U     1002   0        0 eth0       *            U     0      0        0 eth0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140226/7b3da23b/attachment.htm>

More information about the zeromq-dev mailing list