mas-bandwidth / reliable

Packet acknowledgement system for UDP
BSD 3-Clause "New" or "Revised" License
594 stars 78 forks source link

How does reliable deals with duplicates ? #19

Closed aghiles closed 5 years ago

aghiles commented 5 years ago

I am no sure duplicates are dealt with internally. For example, re-=sending the same packet twice (because ACKs did not arrive) could lead to receive packet duplications. If possible, could someone shed some light on this ?

gafferongames commented 5 years ago

reliable.io does not resend dropped packets, it simply tells you which packets were received by the other side.

gafferongames commented 5 years ago

(So yes, all handling of resending dropped packets, and handling duplication is up to you!)