Dennis Peterson wrote: > The ClamAV source distribution includes a contrib tree that contains > some perl code that allows you to connect to a Unix socket (or a tcp > socket). With a little bit of coding it would be easy to re-use that to > create an interactive CLI for your daemon. My testing in Solaris show > improvements in performance when running with Unix sockets vs tcp > sockets.
The CPAN modules ClamAV::Client[1] (written by me) or File::Scan::ClamAV[2] (written by Colin Faber) would also work. References: 1. http://search.cpan.org/dist/ClamAV-Client 2. http://search.cpan.org/dist/File-Scan-ClamAV
pgpaE4F51UbuR.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html