TokTok / c-toxcore

The future of online communications.
https://tox.chat
GNU General Public License v3.0
2.25k stars 284 forks source link

[Proposal] Numbered messages to enforce message ordering #594

Open anthonybilinski opened 7 years ago

anthonybilinski commented 7 years ago

Currently order of messages is not enforced by core, but reliability is. This works as long as sender and receiver enforce order on machine, and the latency for each message differs by less than the time between messages.

In cases where latency is fluctuating, i.e. with mobile, or with Tor, rapid messages in succession arrive out of order. This is especially bad when sending large messages that are split across multiple toxcore messages, a feature supported in qTox.

zoff99 commented 7 years ago

it also will be needed for offline messages feature and multidevice feature

iphydf commented 7 years ago

Yes, this will be easy to do in the new protocol (@sonOfRa).

SkyzohKey commented 6 years ago

@iphydf which new protocol ?