rswiki-book/317-Protocol.mediawiki

14 lines
522 B
Plaintext
Raw Normal View History

2011-06-16 12:34:06 -04:00
[[Category Packet]]
[[Category Packet 317]]
2011-06-16 12:43:29 -04:00
== '''Packet structure''' ==
2011-06-16 12:44:24 -04:00
When the client sends a packet to the server, the first byte encapsulates its opcode. The server then associates this packet opcode to its respective predefined size. If the packet does not contain a fixed size, the opcode will be followed by either a byte or a word, depending on the specific packet, for its proper size.
2011-06-16 12:34:06 -04:00
2011-06-16 12:43:29 -04:00
== '''Login''' ==
2011-06-16 12:45:22 -04:00
Opcode: 14
After the client sends the login opcode,
2011-06-16 12:34:06 -04:00
2011-06-16 12:35:44 -04:00
== '''Incoming Data''' ==
2011-06-16 12:34:06 -04:00
== '''Outgoing Data''' ==