I was literally using Beej's networking primer today to build a simple TCP server in C. I haven't written C in a long time, so imagine my surprise when their code compiled and worked on the first try! In Docker!
I had to add an extra sigaction to handle SIGINTs but nothing huge.
Thank you so much for this guide.
If you can't get enough Linux systems fundamentals, give Robert Love's Intro to Linux Systems Programming a try. It goes through IPC (but not in this much detail) and a good swath of Linux fundamentals, all in C.
> I haven't written C in a long time, so imagine my surprise when their code compiled and worked on the first try! In Docker!
C language is probably one of the most apt languages to write "timeless" software, and the Sockets api have been fairly stable over the years (although i know that the Beej's guide use some newer apis, mostly getaddrinfo).
I was incredibly surprised when going through the source code of gnu make to find some incredibly old C syntax that happily compiled and is used today by pretty much everyone (one way or another).
> If you can't get enough Linux systems fundamentals, give Robert Love's Intro to Linux Systems Programming a try.
I had to add an extra sigaction to handle SIGINTs but nothing huge.
Thank you so much for this guide.
If you can't get enough Linux systems fundamentals, give Robert Love's Intro to Linux Systems Programming a try. It goes through IPC (but not in this much detail) and a good swath of Linux fundamentals, all in C.