Re: daemon server using perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx          <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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux