equal
deleted
inserted
replaced
1159 m_ssThresh = std::max (m_ssThresh, 2 * m_segmentSize); |
1159 m_ssThresh = std::max (m_ssThresh, 2 * m_segmentSize); |
1160 // Set cWnd to segSize on timeout, per rfc2581 |
1160 // Set cWnd to segSize on timeout, per rfc2581 |
1161 // Collapse congestion window (re-enter slowstart) |
1161 // Collapse congestion window (re-enter slowstart) |
1162 m_cWnd = m_segmentSize; |
1162 m_cWnd = m_segmentSize; |
1163 m_nextTxSequence = m_highestRxAck; // Start from highest Ack |
1163 m_nextTxSequence = m_highestRxAck; // Start from highest Ack |
1164 m_rtt->IncreaseMultiplier (); // Double timeout value for next retx timer |
1164 m_rtt->IncreaseMultiplier (); // DoubleValue timeout value for next retx timer |
1165 Retransmit (); // Retransmit the packet |
1165 Retransmit (); // Retransmit the packet |
1166 } |
1166 } |
1167 |
1167 |
1168 void TcpSocket::LastAckTimeout () |
1168 void TcpSocket::LastAckTimeout () |
1169 { |
1169 { |