logfilesrefsstats
path: root/README.md
diff options
context:
space:
mode:
authorGiacomo <initframs@duck.com>2026-06-18 17:05:22 -0700
committerGitHub <noreply@github.com>2026-06-18 17:05:22 -0700
commit4b3f8fe999cbdedfc571330ad3ea93b52da05cdb (patch)
tree119eb596c9f4b9272959a6624aa2ae5e7faf0165 /README.md
parent09ac3bee47d8bfaa07fa7bcacbe5b74ed5ce0adf (diff)
docs: add CONNECTED
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2c84487..5580945 100644
--- a/README.md
+++ b/README.md
@@ -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` |