-
Notifications
You must be signed in to change notification settings - Fork 0
Protocol Specification
GiZano edited this page Jan 29, 2026
·
1 revision
To ensure interoperability between different client implementations, all messages use the JSON format.
{
"from": {
"name": "string",
"ip": "string"
},
"to": "string",
"msg": "string"
}- Handshake: The server first receives the name of the new user for registry validation.
- Username Uniqueness: If a name is already in use, the connection is refused.
-
Routing: If the
tofield is a registered user, the server forwards the message; otherwise, it checks for commands.