diff options
| author | Giacomo <initframs@duck.com> | 2026-06-18 17:05:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-18 17:05:22 -0700 |
| commit | 4b3f8fe999cbdedfc571330ad3ea93b52da05cdb (patch) | |
| tree | 119eb596c9f4b9272959a6624aa2ae5e7faf0165 | |
| parent | 09ac3bee47d8bfaa07fa7bcacbe5b74ed5ce0adf (diff) | |
docs: add CONNECTED
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -72,6 +72,7 @@ the responses in the table are assuming normal behavior, they don't include case | Command | Sent | Purpose | Responses | | ------------------ | --------------------------- | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | +| `n/a` | when connecting to a server | inform the client they've connected | `CONNECTED` | | `HELLO [username]` | when connecting to a server | initiate connection and register a username | `HELLO [username]` (note that if the name is already taken, a random numerical suffix is added), followed by an `MOTD` message | | `MSG [msg]` | when sending a message | send a message for the server to broadcast | `MSG [username]: [msg]` is sent to all clients, including the original sender | | `PING` | at specific timed intervals | tcp keepalive | `PONG` | |
