MOVE ALONG NOTHING TO SEE HERE

All new docs are being written in the github msndevs wiki

The old contents are left here for historical reference

old contents

The command structure is just like MSNP, but more strict. All commands have payload and 'headers' now.

CMD <TrID> <parameters> <payload size>\n
<header name>: <header value>\n
[...more headers...]\n
\n
<payload body>

Headers are optional, but the newline separating them and the body is not. So commands that support headers (all of them?) often start the payload with a newline.

No BNF because i'm not cool enough for that.

In the examples, <<< and >>> are added before command names to specify server->client and client->server respectively.