From cc59be180b2673d0a5c9f043007f980d09c7983d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20=F0=9F=85=B1=2E=20Kildaire?= <21629986@sun.ac.za> Date: Wed, 23 Sep 2020 10:52:00 +0200 Subject: [PATCH] Updated protocol --- protocol.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol.md b/protocol.md index 1aa1933..ab47f5e 100644 --- a/protocol.md +++ b/protocol.md @@ -23,12 +23,12 @@ Every command starts with a 1 byte code specifying the command. ### `auth` ``` -|-- 0 --|-- username (null-terminated) --|-- password (null-terminated)--| +|-- 0 --|-- usernameLength (1 byte) --|-- username --|-- password --| ``` ### `link` ``` -|-- 0 --|-- todo +|-- 1 --|-- todo ```