variable retranmission window

This commit is contained in:
orignal 2022-07-27 20:00:03 -04:00
parent 8a6fe0f321
commit fd41fba069
2 changed files with 15 additions and 2 deletions

View file

@ -38,6 +38,7 @@ namespace transport
const int SSU2_RESEND_INTERVAL = 3; // in seconds
const int SSU2_MAX_NUM_RESENDS = 5;
const int SSU2_INCOMPLETE_MESSAGES_CLEANUP_TIMEOUT = 30; // in seconds
const size_t SSU2_MIN_WINDOW_SIZE = 8; // in packets
const size_t SSU2_MAX_WINDOW_SIZE = 128; // in packets
const size_t SSU2_MAX_OUTGOING_QUEUE_SIZE = 300; // in messages
const int SSU2_MAX_NUM_ACK_RANGES = 32; // to send