Hi all
> Better just to modify the Perl wrappers to use IO::Socket::INET and
> use the stream-scanning clamd protocol.

We extended the ClamAV::Client (CPAN) also handle zINSTREAM protocol, it
has worked fine for some years now.

example "code"

send("zINSTREAM\0")
while (read block (STREAM_BLOCK_SIZE)) {
  send(pack('N', length($block)) . $block)
  check_for_result
}
send(pack('N', 0))
check_for_result

Michiel Brandenburg


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to