From 95978f86370fcde6689a15924dbb5725af5b04b4 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 24 Sep 2020 13:28:17 +0200 Subject: [PATCH] Updated protocol --- protocol.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/protocol.md b/protocol.md index 13e5ae5..4a989f6 100644 --- a/protocol.md +++ b/protocol.md @@ -93,5 +93,15 @@ Reply format: |-- status (1 byte) --|-- channelnames(CSV) --| ``` +### `msg` + +Request format: + +``` +|-- 7 --|-- type (1 byte) --|-- channel/person name (null terminated) --|-- message --| +``` + +* `type`, `0` - to user, `1` to channel + ### `chanprop`