if(iSrttCount == 2){ double dDeltaSrtt = dSrttArray[0] - dSrttArray[1]; if(dDeltaSrtt < 0) dDeltaSrtt *= -1.0; if(0.01 < dDeltaSrtt && dDeltaSrtt < 0.03) { eUseCmtDelAck = TRUE; eUseCmtPF = TRUE; } else { eUseCmtDelAck = FALSE; eUseCmtPF = FALSE; } }===AFTER===
if(iSrttCount == 2){ double dDeltaSrtt = dSrttArray[0] - dSrttArray[1]; if(dDeltaSrtt < 0) dDeltaSrtt *= -1.0; if(dDeltaSrtt < 0.01){ eUseCmtDelAck = FALSE; eUseCmtPF = FALSE; }elseif(0.01 < dDeltaSrtt && dDeltaSrtt < 0.03) { eUseCmtDelAck = TRUE; eUseCmtPF = TRUE; } else { return SCTPAgent::ProcessChunk(ucpInChunk, ucppOutData); } }
===END===
0 件のコメント:
コメントを投稿