Skip to content

Instantly share code, notes, and snippets.

@jirihnidek
Last active August 29, 2015 13:55
Show Gist options
  • Save jirihnidek/8730435 to your computer and use it in GitHub Desktop.
Save jirihnidek/8730435 to your computer and use it in GitHub Desktop.
Structure of some commands sent during Verse handshake.
USER_AUTH_FAILURE
0 1 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+---------------+---------------+
| OpCode=8 | Length=2 |
+---------------+---------------+
USER_AUTH_SUCCESS
0 1 2 3 6
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 7 8 9 0 1 2 3
+---------------+---------------+---------------+---------------+-------------.....-------------+
| OpCode=9 | Length=10 | User_ID | Avatar_ID |
+---------------+---------------+---------------+---------------+-------------.....-------------+
Change_R(COOKIE(Rt5#i0^f@&z2))
0 1 1 2 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
+---------------+---------------+---------------+---------------+--------
| ID=4 | Length | Feature=4 | Str_len=12 | "Rt5#i0^f@&z2"
+---------------+---------------+---------------+---------------+--------
Change_L(DED(http://khronos.org/collada.ded))
0 1 1 2 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
+---------------+---------------+---------------+---------------+--------
| ID=3 | Length | Feature=5 | Str_len=30 | "http://khronos.org/collada.ded"
+---------------+---------------+---------------+---------------+--------
https://github.com/verse/verse/wiki/Specification-of-Negotiation
- Other negotiation commands, op_codes, features numbers, etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment