mirror of
https://github.com/deavminet/dnetd.git
synced 2025-02-20 06:27:05 +00:00
541 B
541 B
dnet protocol specification
Preamble
Every command starts with a 1 byte code specifying the command.
|-- command (1 byte) --|-- dependant on command (n bytes) --|
Command listing (client/server->server)
auth
- authenticate a new clientlink
- authenticate a new server
Client/Server types (server->server/client)
msg
- new message
Commands
auth
|-- 0 --|-- usernameLength (1 byte) --|-- username --|-- password --|
link
|-- 1 --|-- todo