From 1a3de749b51ac3e1c3d9b98a7d23693605c6971b Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Wed, 30 Sep 2020 10:15:22 +0200 Subject: [PATCH] Updated protocol --- protocol.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/protocol.md b/protocol.md index 4bb5958..08375a4 100644 --- a/protocol.md +++ b/protocol.md @@ -129,14 +129,26 @@ Request format: |-- 8 --|-- channel --| ``` -* `type`, `0` - to user, `1` to channel - -Reply format *TODO* +Reply format: ``` |-- status (1 byte) --|-- member count (4 bytes - big endian) --| ``` +### `memberlist` + +Request format: + +``` +|-- 9 --|-- channel --| +``` + + +Reply format: + +``` +|-- status (1 byte) --|-- channel members (CSV) --| +``` ### `chanprop`