mirror of https://github.com/deavminet/dnetd.git
Updated protocol
This commit is contained in:
parent
b81b7a37cd
commit
a5a518f016
16
protocol.md
16
protocol.md
|
@ -105,3 +105,19 @@ Request format:
|
||||||
|
|
||||||
### `chanprop`
|
### `chanprop`
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Anything that isn't a command above will return with `2` which means _unknown command_.
|
||||||
|
`0` generally means that everything went well but commands can send more data after it,
|
||||||
|
it depends, and `1` means error - also more data may follow.
|
||||||
|
|
||||||
|
## notifications
|
||||||
|
|
||||||
|
We know as tristanable tag 1, but then _types_ of notifications is the important factor described here.
|
||||||
|
|
||||||
|
### TODO: message receive format
|
||||||
|
|
||||||
|
```
|
||||||
|
|-- notifyTYpe (1 byte) --|-- ..
|
||||||
|
```
|
Loading…
Reference in New Issue