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