ProtoDef-io / node-protodef

Describe your protocol, and read it with ease.
MIT License
31 stars 18 forks source link

Example of protocols that ProtoDef could handle #6

Open rom1504 opened 9 years ago

rom1504 commented 9 years ago

I think it's interesting to list some protocols we want Protocols to be able to handle.

Just some ideas of what binary protocols look like, of course we don't have to implement them !

roblabla commented 9 years ago

not a protocol, but binary file formats would be cool as well. My original use-case was the Java Class File Format

rom1504 commented 9 years ago

MCPE (see https://github.com/PrismarineJS/node-minecraft-protocol/issues/235) : stateless, directionless protocol. (directionless in the implementation but some packet are only clientBound and serverBound : not sure exactly how to represent that (currently done with a clientBound and a serverBound boolean for each packet))

rom1504 commented 8 years ago

minetest protocol is almost available in a structured form, see https://github.com/minetest/minetest/blob/master/src/network/networkprotocol.h

rom1504 commented 8 years ago

this is cool too https://github.com/minetest/minetest/blob/master/doc/world_format.txt

rom1504 commented 8 years ago

https://github.com/clugh/coc-messages

Good reason to write a python protodef too. (And I've been thinking that writing protodef in other languages might give some optimization clues)

rom1504 commented 8 years ago

would be fun to implement protobuf with protodef https://github.com/mafintosh/protocol-buffers-schema