Hi!

Course connect to clamd using TCP socket is more simple.

Join us ClamAVUtils implementation.

We need open one socket by upload servlet thread scan for use clamd 
multithreading (sendCommand) without synchronize problem.

Thanks for your help.

François

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Török Edwin
Envoyé : vendredi 16 novembre 2007 19:14
À : ClamAV Development
Objet : Re: [Clamav-devel] libclamav.jar

Bivaud François wrote:
> Thanks, we implement this way and we verify the memory usage.
>
> That's just complicated because we develop under win32 and exploit
under linux suze.
>
> But us application don't need portable.
>

You can connect to clamd using a TCP socket, and send it simple commands
to scan your file.
It supports scanning local files, or files streamed through another socket.

See the documentation (clamdoc.pdf) for details.

--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Attachment: ClamavUtils.java
Description: ClamavUtils.java

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to