Show
Ignore:
Timestamp:
07/25/08 16:24:07 (6 years ago)
Author:
soohyunc
Message:

(temporary commit)
o now, we can give a packet sequence number and print on console
o and, the receiver print the received packet's seqno on console
o note: this is an experimental commit

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/rtp/session.cpp

    r4184 r4228  
    4949#include "ntp-time.h" 
    5050#include "session.h" 
     51#include "cc/cc.h" 
    5152 
    5253/* added to support the mbus  
     
    770771        //u_char* bp = pktbuf_; 
    771772         
     773        rtphdr* rh = (rtphdr*) pb->data; 
     774        seqno_ = ntohs(rh->rh_seqno);   // received packet seqno 
     775        debug_msg("received seqno:      %d\n", seqno_); 
     776         
    772777        int cc = dh->recv(pb->data, sizeof(pb->data), addrp); 
    773778        //int cc = dh->recv(bp, 2 * RTP_MTU - 4, addrp);