fix: 调整拥塞窗口

This commit is contained in:
SunnyQjm
2019-12-06 15:38:23 +08:00
parent 504df49d18
commit 75505c949c
+1 -1
View File
@@ -85,7 +85,7 @@ void ndn_rtpc::onData_detect(const Interest& interest , const Data& data){
recvList.setFrontIndicate(seq) ;
// cout << "start_time = " << start_time << endl ;
if(this->pkt_seq == -1) this->pkt_seq = seq ;
while(this->pkt_seq < seq + 4){
while(this->pkt_seq < seq + 2){
string name = prefix+"/"+start_time + "/"+ to_string(pkt_seq) ;
myExpressInterest(name, 100) ;
this->pkt_seq ++ ;