diff options
author | Oliver Hunt <oliver.huntuk@gmail.com> | 2013-07-21 09:50:36 +0100 |
---|---|---|
committer | Oliver Hunt <oliver.huntuk@gmail.com> | 2013-07-21 09:50:36 +0100 |
commit | 0ec04a92afa28028d9935f6a0a51fe4592ef790d (patch) | |
tree | 56609103065045b3b06400b7f3e8eb88bbb0a8bf /docs/Messenger_Protocol.txt | |
parent | 4f4e41f2eb7812678523060526292798be1c6e59 (diff) |
Removed docs, all are now in the wiki
Diffstat (limited to 'docs/Messenger_Protocol.txt')
-rw-r--r-- | docs/Messenger_Protocol.txt | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/Messenger_Protocol.txt b/docs/Messenger_Protocol.txt deleted file mode 100644 index dc92c303..00000000 --- a/docs/Messenger_Protocol.txt +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | Protocol for messages, data, etc.. | ||
2 | |||
3 | Streaming audio/video will not use this protocol as they can absorb some data loss. | ||
4 | |||
5 | The protocol itself will run on top of the encryption which means it should be | ||
6 | impossible for someone to know what type of data is being transmitted.(Well they | ||
7 | could just analyze how much data is being transmitted for a pretty good guess) | ||
8 | |||
9 | Because it runs on the encryption which itself runs on our Lossless UDP protocol | ||
10 | it can be guaranteed that no data will be lost. | ||
11 | |||
12 | Basic packet format: | ||
13 | [char data_id][data] | ||
14 | |||
15 | data_id represents the type of data. | ||
16 | |||
17 | All strings must be UTF-8. | ||
18 | |||
19 | EX: data_id 64 designates a chat message. so the packet would look like: @Hello WorldNULL | ||
20 | Where @ is the ASCII character for 64, "Hello World" is the message and NULL is the null string terminator. | ||
21 | |||
22 | Proposed data_ids and what they mean (in decimal) | ||
23 | |||
24 | ids 0 to 16 are reserved. | ||
25 | |||
26 | 48 Username (Send this packet as soon as you connect to a friend or to each friend everytime you change names. | ||
27 | Username is maximum 128 bytes long with the null terminator included) | ||
28 | |||
29 | 49 Status change | ||
30 | |||
31 | 64 Chat message | ||
32 | 6? File transmission. | ||
33 | |||