[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://192.168.0.25;239.192.1.1:5555");
assert(rc==0);
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
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
224.0.0.0 * 240.0.0.0 U 0 0 0 eth0
Thanks,
Alvin
-------------- 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