How to Design a Network Messaging Protocol!

Опубликовано: 03 Февраль 2024
на канале: hoff._world
14,532
1k

Ever wondered how daemons and programs talk to each other over the network? It's protocols, and today we will make one ourselves instead of use the myriad of perfectly good off-the-shelf solutions.

Chapters:
0:00 - Intro, Motivation and Demo
00:41 - What is an application protocol?
1:37 - High Level Architecture Decisions
1:59 - Synchronous Messaging
5:51 - Asynchronous Messaging
7:37 - Serialization and Serial Communication
9:51 - Handling Packet Length
13:27 - Packet Headers
15:12 - Data Payloads
16:43 - Checksums and CRC
18:44 - The protocol I came up with in 5 minutes
20:03 - Getting the protocol to actually do something
22:13 - Why make your own?? Uhh cause it's cool
23:12 - Summary and Outro