first byte: the opcode.
second byte: the variable length byte.
third byte: the string delimiter (value 10 in runetek3, value 0 in runetek 4+).
the packet is assembled as such:
Code:opcode, length, message..., delimiter
|
Hey.
How come do we send 3 more bytes, than the messages length in the sendMessage() method?
Is it the packet header?Code:message.length() + 3
Do we have any documentation on how many bytes should be assigned different packets?
first byte: the opcode.
second byte: the variable length byte.
third byte: the string delimiter (value 10 in runetek3, value 0 in runetek 4+).
the packet is assembled as such:
Code:opcode, length, message..., delimiter
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |