[zeromq-dev] Delayed Reception of messages when using Multicast Method (Using PGM)

Steven McCoy steven.mccoy at miru.hk
Fri Feb 8 18:03:23 CET 2013


On 8 February 2013 11:41, Divya Mohan <divya.mohan310 at gmail.com> wrote:

> zmq_bind(pub_socket ,"epgm://127.0.0.1;239.192.1.1:5580");
> zmq_connect(sub_socket,"epgm://127.0.0.1;239.192.1.1:5580" );
>
>
It's probably not a good idea to do this: use a different port for each
socket.

Localhost UDP on Linux easily suffers great packet loss presumably due to
buffer overrun at really low data rates.

What you are likely seeing with two sockets is that reliability is not
functioning because the IP stack will not multiplex packets on the same
port to multiple receivers.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130208/b1bca05f/attachment.html>


More information about the zeromq-dev mailing list