I heartily second the recommendation of the Network Programming volume. I would also suggest Net::Server as a good module to use for writing daemons, as it natively supports several forking models. POE is also a very powerful and useful tool, but with a longer learning period.
As far as being RH 7.3-centric, none of these (or the previously-mentioned Proc::Daemon) are shipped with Perl in RH 7.3. You will have to retrieve any of these (and their dependancies) from CPAN.
--rjray
| [reply] |
I heartily third that recommendation. I've gotten so much
use out of that book. The best thing is the example code,
much like the Richard Stevens 'C' code from "Advance Programming in the Unix Enviorment", you can take the code,
make minimal changes and your up an running. I've had to
write a few daemon processes in the last year, and the book
was a great help. The daemon code in Chapter 14 will give
you syslogging and kill -HUP functionality as well.
STH
| [reply] |