in reply to Networking with Perl
I think that Net::Server is exactly what you are looking for. Here it is a little quote from its description:
Net::Server is an extensible, generic Perl server engine.
Net::Server combines the good properties from Net::Daemon
(0.34), NetServer::Generic (1.03), and Net::FTPServer (1.0),
and also from various concepts in the Apache Webserver.
Net::Server attempts to be a generic server as in Net::Daemon
and NetServer::Generic. It includes with it the ability to
run as an inetd process (Net::Server::INET), a single
connection server (Net::Server or Net::Server::Single),
a forking server (Net::Server::Fork), a preforking server
which maintains a constant number of preforked children
(Net::Server::PreForkSimple), or as a managed preforking
server which maintains the number of children based on
server load (Net::Server::PreFork). In all but the inetd
type, the server provides the ability to connect to one or
to multiple server ports.
HTH. Ciao, Valerio
|
|---|