[zeromq-dev] [PATCH] on Recovery Interval Milliseconds (OpenPGM)

Steven McCoy steven.mccoy at miru.hk
Wed Dec 8 02:32:09 CET 2010

On 8 December 2010 02:25, Bob Beaty <drbobbeaty at gmail.com> wrote:

> Martin,
>   OK, there's a wrinkle in using the PGM_RXW_SQNS and PGM_TXW_SQNS in
> pgm_socket.cpp -- OpenPGM works fine on the transmitter, but the receiver
> expects (via an assertion) that if there is a value for PGM_RXW_SQNS, then
> the value of PGM_RXW_MAX_RATE to be zero (0).
>   With the default of 100 (kbps), we have an assertion failure.
>   All this is in OpenPGM in pgm/rxw.c line 189.
>   If we try to simply set the max rate on the receiver client to 0, we get
> a different assertion failure on the ZeroMQ code in connect_session.cpp line
> 94.

Yes, PGM_TXW_MAX_RTE is also used for the rate limit engine, PGM_RXW_MAX_RTE
is only used for calculating the window size.  The API forces the RX rate to
be zero when you provide a sequence count in order to remove ambiguity over
what is used to calculate the window size.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101208/65bf9b66/attachment.htm>

More information about the zeromq-dev mailing list