On 05/11/2010 09:51 PM, Clayton Keller wrote:
> I am trying to execute the STATS command with clamd.
> 
> I have created the socket and am trying to send 'zSTATS' to the daemon,
> and am returned a "COMMAND READ TIMEOUT".

Did you terminate it with a \0?
(z needs \0, n needs \n).

Best regards,
--Edwin
> 
> I am able to issue other commands without issue (i.e. 'VERSION', 'PING',
> 'SCAN').
> 
> After reading through the documentation I though I was executing the
> command properly:
> 
> "It is mandatory to newline terminate this command, or prefix with n or
> z, it is recommended to only use the z prefix."
> 
> Have I overlooked something specific with this command or how I am using
> with the socket I have created?
> 
> Clay
> 
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to