Don’t ever let anyone tell you that
fork(2)is bad. Thirty years from now, there will still be a
exec(2)and smart people will still be using them to solve hard problems reliably and predictably, just like they were thirty years ago.
Network programming is fun. I also wish it were a little less painful, at times, but that comes more when you try to get tricky with event loops, non-blocking connects, &c.