Closed ghost closed 8 years ago
We already have that, it's called Lossless UDP.
Nice!
Were you aware of RUDP when creating LUDP?
Perhaps you could get some ideas from RUDP to implement in your own Lossless UDP. Might have some interesting things over there.
http://plan9.bell-labs.com/sources/plan9/sys/src/9/ip/rudp.c
Yes i was aware.
That RUDP implementation is in plan 9 C, you can't just copy paste it in your software and start using it.
What if you imported the necessary libraries? Too much overhead? Is there a way to compare both implementations to see which is faster, more reliable, etc.? I am interested in this as well. Perhaps something could be learn from another program that aims to do the same thing.
The lossless UDP has been here for quite a while, and since it works well the best thing to do, I think, would be to analyze RUDP and see what ideas Tox could use to improve performance and reliability.
@irungentoo close
Since we need guaranteed-order packet delivery in Tox, I think RUDP is a better option then UDP, without adding too much overhead.