daemon server using perl
Gregory P. Ennis
PoMec at PoMec.Net
Fri Sep 28 23:28:30 UTC 2007
On Thu, 2007-09-27 at 21:58 -0400, Matthew Miller wrote:
> On Thu, Sep 27, 2007 at 08:10:21PM -0500, Gregory P. Ennis wrote:
> > I would like to create a daemon server that could be used like sendmail,
> > dovecot etc. I would like it to monitor a specified port for queries
> > from a local network, and pass the queries to a database that is not
> > mysql or postgresql, and return the results to the same port,
> > I do not have experience in C so I would prefer to use perl.
> > Can anyone point me to a tutorial?
>
> Sure.
>
> Here's the basics:
>
> <http://www.perlfect.com/articles/sockets.shtml>
> <http://www.devshed.com/c/a/Perl/Socket-Programming-in-PERL/>
>
> You'll want to understand that. *But*, rather than reinventing the wheel in
> your own program, you might want to use the Net::Server module, available in
> Fedora in the perl-Net-Server rpm.
>
> --
> Matthew Miller mattdm at mattdm.org <http://mattdm.org/>
> Boston University Linux ------> <http://linux.bu.edu/>
Matthew,
Thanks much for the links. Don't like reinventing the wheel either so I
appreciate your good advice.
Thanks again,
Greg
More information about the fedora-list
mailing list