[zeromq-dev] PUB/SUB on an epgm socket stops receiving eventually …

Steven McCoy steven.mccoy at miru.hk
Sat Jun 11 00:16:20 CEST 2011


On 10 June 2011 15:55, Ladan Gharai <lgharai at gmail.com> wrote:

>
>> ZMQ creates a new PGM socket.  PGM is a socket based API beneath ZMQ.
>>
>
> I see. But the new PGM socket does not seem to reconnect to the receiver?
>
> Also, could you  point out where in the zmq code does this happen?(I'd like
> to print out an error message or do something once this happens)
>
>
Start here,

https://github.com/zeromq/zeromq2-1/blob/master/src/pgm_socket.cpp#L607


I think the functionality changed a bit as I made it configurable whether
OpenPGM remains in an error state like TCP or attempts to resume the
reception from the transport but with notification of unrecoverable loss.
 It cost too much time to recycle the socket so it was cheaper to have an
option in OpenPGM for best effort delivery.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110610/45ee3065/attachment.htm>


More information about the zeromq-dev mailing list