The daemon listens for incoming connections on Unix and/or TCP socket and scans files or directories on demand. It reads the configuration from @CFGDIR@/clamd.conf
.SH"COMMANDS"
.LP
clamd recognizes the following commands:
It's recommended to prefix clamd commands with the letter \fBn\fR (eg. nSCAN) to indicate that the command will be delimited by a newline character and that clamd should continue reading command data until a newline is read. The newline delimiter assures that the complete command and its entire argument will be processed as a single command. clamd recognizes the following commands:
.TP
\fBPING\fR
@ -38,7 +38,7 @@ Scan file in a standard way or scan directory (recursively) using multiple threa
Scan stream \- on this command clamd will return "PORT number" you should connect to and send data to scan.
.TP
\fBSESSION, END\fR
Start/end a clamd session which will allow you to run multiple commands per TCP session. It's recommended to prefix clamd commands with the letter \fBn\fR (eg. nSCAN) to indicate that the command will be delimited by a newline character and that clamd should continue reading command data until a newline is read. The newline delimiter assures that the complete command and its entire argument will be processed as a single command.
Start/end a clamd session which will allow you to run multiple commands per TCP session.