I read that #inetd hooks up stdin, stdout and stderr of the service program. But what does it hook stderr to? The network socket? Or something else? I struggle a bit with the thought of stderr going over the network...
I've been obsessed with #C recently. Been reading lots of the #GNULibC manual, and just admiring what a feature
complete library it is (I always thaught you didn't get much of a stdlib with C for some odd reason, but of
course #Posix).
Came across the section on #inetd, so I decided to write my own as a learning experience. Obviously inetd today has
security issues, but it's a good way to learn about sockets, parsing config files, and a bunch of other posix stuff.