This page contains safe public examples of common Mocha protocol flows.
These examples are intentionally illustrative rather than exhaustive. They are meant to explain the shape of the protocol, not to publish every private detail of authentication, routing, or service behavior.
Client:
VER <trid> MENP/1.0
CVR <trid> <client-identification>
Server:
VER <trid> OK MENP/1.0 Mocha Messenger Service
CVR <trid> OK Mocha Messenger
Client:
USR <trid> <sign-in request>
Server:
USR <trid> OK <account state>
or
USR <trid> FAIL <error state>
Client:
SYN <trid>
Server:
LST <trid> <contact> <payload>
LST <trid> <contact> <payload>
SYN <trid> OK <count>
Client:
CHG <trid> <status> <payload>
Server fanout:
NLN <account> <status> <payload>
Client:
XFR <trid> SB <target>
Server:
XFR <trid> SB <session routing information>
The current Mocha stack supports live audio and video behavior, but detailed transport and authentication internals are intentionally not published in this public examples page.