1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 09:43:37 +02:00

Updated protocol

This commit is contained in:
Tristan 🅱. Kildaire 2020-09-23 13:14:55 +02:00
parent fdea191041
commit 78a571ae67

View File

@ -22,13 +22,21 @@ Every command starts with a 1 byte code specifying the command.
### `auth`
Request format:
```
|-- 0 --|-- usernameLength (1 byte) --|-- username --|-- password --|
```
Reply format:
```
|-- 1 --|-- status (1 byte) --|
```
### `link`
```
|-- 1 --|-- todo
|-- 2 --|-- todo
```