summaryrefslogtreecommitdiff
path: root/src/pgm_socket.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-02-21 11:22:54 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-02-21 11:22:54 +0100
commit5c0931121ba1854766599b6b7dbd1a7937febd6d (patch)
treeb0673b15736c118810f018cc6f1c2130a2bcf1ae /src/pgm_socket.hpp
parent12486fecc4f8d9a3bed37cf3d732b1250b075e24 (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.hpp3
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;