Linux

Implementing a Network Protocol in C from Start to Finish!



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:
Creating the original Rolexhound:

Project Download Link:

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!

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button