[Sumover-dev] [svn commit] r4285 - vic/branches/cc/rtp

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Thu Sep 4 16:28:03 BST 2008


Author: soohyunc
Date: Thu Sep  4 16:28:01 2008
New Revision: 4285

Modified:
   vic/branches/cc/rtp/session.cpp

Log:
(bug fix)
o  when we want to retrieve an RTP data packet's seqno, we need to do ntohs()
   (without ntohs previously, the seqno were just garbabe numbers)


Modified: vic/branches/cc/rtp/session.cpp
==============================================================================
--- vic/branches/cc/rtp/session.cpp	(original)
+++ vic/branches/cc/rtp/session.cpp	Thu Sep  4 16:28:01 2008
@@ -1225,7 +1225,7 @@
 
 	// while the packet seqno is within "cwnd + jack"
 	// then send the packets
-	while (rh->rh_seqno <= magic + jack) {
+	while (ntohs(rh->rh_seqno) <= magic + jack) {
 		if (pb != 0) {
 			head_ = pb->next;
 			output(pb);	// call Transmitter::output(pb)



More information about the Sumover-dev mailing list