Skip to content
  • Philip Withnall's avatar
    pseudotcp: Support setting the retransmission retry count · 787a7aa0
    Philip Withnall authored and Olivier Crête's avatar Olivier Crête committed
    Expose the equivalent of the R1 and R2 variables from RFC 1122. This is
    mostly useful for testing, to allow testing with high (95%) packet loss
    without ever timing out — the test should complete successfully at some
    point.
    
    This adds the following new API:
     • PseudoTcpSocket:retries1
     • PseudoTcpSocket:retries2
     • PseudoTcpSocket:syn-retries
     • PseudoTcpSocket:syn-ack-retries
    787a7aa0