767 B
767 B
IP reporter but in C
I'm starting to look at programming languages like vehicles. The older ones are much simpler and easier to hack around on, but this is probably not as 'safe' as a language like Rust. I'm generally in favor of most safety features they put on cars, but, speaking as a former mechanic, I can't say I agreed with all of them.
I think this may be similar to the arguments over languages like C/C++ vs Rust and Zig.
I installed NixOS tonight because I have a WFH day at work tomorrow due to the heat. I've messed with Nix and building in the past and it's not gone well. Got this working it seems.
After checking out the nix
branch, run nix-shell
in the cloned directory and then gcc -o ip-reporter ip-reporter.c -lpcap
. Worked great.