|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
Welcome! This folder is a from-scratch on-ramp. It assumes you know nothing about networking and builds up from the very beginning. If you have never heard of the "OSI model", a "packet", or a "port", you are in exactly the right place.
Why a web-server library ships a tutorial: this library is built as a stack of layers that mirror the textbook model of how computers talk to each other. So as you learn the theory, you can open the matching folder of real, working code and see the idea in action. The concept and the code line up one-to-one.
No age or background assumed. Where we use a new word, we define it the first time.
When two computers talk, the message is handled by a stack of layers - each layer does one small job and hands the result to the layer below it (on the way out) or above it (on the way in), like passing a letter down through a mailroom, the postal system, and the delivery truck, then back up at the other end.
More primers will be added here over time (HTTP, sockets, TLS/encryption, ...). Each one ties back to the code so you can see the theory running on real hardware.
The library's network code lives in src/network_drivers/, split into one folder per layer - the same layers you will read about:
Read a primer, then open the matching folder. That back-and-forth between "the idea" and "the running code" is the fastest way to truly understand networking.
A note on style: these
learn/documents are deliberately wordy and explain everything. The code itself is the opposite - terse and dense, the way production embedded C++ is written. Learning to read both is part of the journey.