ShadowKatStudios / OC-Minitel

Easy-to-implement networking protocol for OpenComputers
https://oc.shadowkat.net/minitel/
Mozilla Public License 2.0
41 stars 12 forks source link

Stream protocol using sequence numbers #12

Open XeonSquared opened 6 years ago

XeonSquared commented 6 years ago

ie so they're more like TCP, for performance reasons.

Multiple acknowledgements in one packet would also be good. Needs more thought.

XeonSquared commented 5 years ago

So here's what I'm thinking:

Upon arbitrary node A making a connection to arbitrary node B:

XeonSquared commented 5 years ago

Another option is to specify a simple protocol allowing node A to ask node B which stream protocols it supports, and then negotiating based on which one node A prefers. This could be done using reliable packets, and if it takes more than the time it takes for the acknowledgement to arrive again, give up on negotiating and fall back to the standard one.