mirror of https://github.com/deavminet/dnetd.git
Updated protocol
This commit is contained in:
parent
fdea191041
commit
78a571ae67
10
protocol.md
10
protocol.md
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue