git » redes-tp2.git » commit 7e556df

Add comment about a current limitation

author Rodrigo Campos
2012-10-14 01:00:14 UTC
committer Rodrigo Campos
2012-10-14 01:00:14 UTC
parent 3728fe79d0aff5f6314fd2f85941579207dd8b82

Add comment about a current limitation

myping.py +2 -0

diff --git a/myping.py b/myping.py
index 9ab39e9..47d4a4b 100755
--- a/myping.py
+++ b/myping.py
@@ -21,6 +21,8 @@ def estimate_rtt(dst, pkts = 10):
     """Estimates RTT sending pkts pings to dst.
     @returns rtt (ms)
     """
+    # XXX: If some packet gives timeout, thw whole time waiting is taken into
+    # account when calculating the RTT. Is this what we really want ?
 
     t1 = time.time()