mirror of https://github.com/deavminet/dnetd.git
Updated protocol
This commit is contained in:
parent
34fc7212ef
commit
cc59be180b
|
@ -23,12 +23,12 @@ Every command starts with a 1 byte code specifying the command.
|
||||||
### `auth`
|
### `auth`
|
||||||
|
|
||||||
```
|
```
|
||||||
|-- 0 --|-- username (null-terminated) --|-- password (null-terminated)--|
|
|-- 0 --|-- usernameLength (1 byte) --|-- username --|-- password --|
|
||||||
```
|
```
|
||||||
|
|
||||||
### `link`
|
### `link`
|
||||||
|
|
||||||
```
|
```
|
||||||
|-- 0 --|-- todo
|
|-- 1 --|-- todo
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue