Implementing a Network Protocol in C from Start to Finish!

Опубликовано: 09 Февраль 2024
на канале: hoff._world
7,442
391

AF_INET, INET_AF, INET_AS_FU.... whatever you wanna call it, we're doing network programming in this video. This was a mammoth of a vid to make so I hope you find it useful!

I have made some edits to the program to fix a couple of issues, if you grep the source code for "DIFF TO VID" you will find a comment explaining.

Network Protocol Design Theory:    • How to Design a Network Messaging Pro...  
Creating the original Rolexhound:    • How to Write a Linux Daemon from Star...  

Project Download Link: https://hoff.industries/files/flexuti...

Editor: Kate (xoxo KDE)
Colours: Dracula
LSP Server: clangd

Chapters
0:00 - Intro and Overview
1:03 - What does a Protocol Library Look Like?
6:24 - Defining Basic Protocol Structures
8:25 - Writing a Serialization Function
24:14 - Writing a Deserialization Function
43:21 - Testing our Library Functions
45:15 - Writing our TCP Server - Rolexhound
1:09:25 - Writing our TCP Client - Smartwatch
1:21:31 - Testing our Newly Networked Applications!