On 8 December 2010 02:25, Bob Beaty <[email protected]> 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. -- Steve-o
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
