I’ve been working on a networking library for the past year. It operates at Layer 2, which means it handles custom Ethernet headers, IP headers, and its own protocol data.
It’s made for simplicity, experiments and mostly for making my own multiplayer video game in OpenGL.
I would really appreciate any tips, reviews or comments. My goal is to really make this library usable, which cannot be done without proper decision making by other people besides me.
It has its own thread-safe memory allocator, hashmap and vector.
It doesn’t use any libraries besides PCAP for sending packets. Pcap will mostly be used for MacOS compatibility, but will implement either AF_XDP or DPDK on linux for more server-side performance.
The performance isn’t the best, but not really bad. Performance metrics are listed in README.
It’s not an AI slop :)