diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-02-21 11:22:54 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-02-21 11:22:54 +0100 |
commit | 5c0931121ba1854766599b6b7dbd1a7937febd6d (patch) | |
tree | b0673b15736c118810f018cc6f1c2130a2bcf1ae /src/pgm_socket.hpp | |
parent | 12486fecc4f8d9a3bed37cf3d732b1250b075e24 (diff) |
Computation of buffer size for PGM fixed.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/pgm_socket.hpp')
-rw-r--r-- | src/pgm_socket.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pgm_socket.hpp b/src/pgm_socket.hpp index e6216de..dad8d6d 100644 --- a/src/pgm_socket.hpp +++ b/src/pgm_socket.hpp @@ -80,6 +80,9 @@ namespace zmq void process_upstream (); private: + + // Compute size of the buffer based on rate and recovery interval. + int compute_sqns (int tpdu_); // OpenPGM transport. pgm_sock_t* sock; |