1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-12-26 02:08:07 +11:00

added an example exchange

This commit is contained in:
Izaya 2018-02-16 22:03:58 +11:00
parent 876e33e93a
commit df605f3ca4

View File

@ -41,3 +41,10 @@ Packets are made up of separated parts, as allowed by OpenComputers modems.
- port: virtual port, number \< 65536
- data: the actual packet data, or in the case of an acknowledgement packet, the original packet ID, string
### Example exchange:
Node bob sends a reliable packet to node alice, on port 44:
"asdsfghjkqwertyu", 1, "alice", "bob", 44, "Hello!"
Node alice acknowledges node bob's packet:
"1234567890asdfgh", 2, "bob", "alice", 44, "asdsfghjkqwertyu"