On 10 June 2011 15:55, Ladan Gharai <[email protected]> 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
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to