[clamav-users] help

2013-05-20 Thread xingcheng cai
Dear all: I wanna to scan buffer, and i do that as this: 1.connect to clamd.socket 2.send command "zINSTREAM" 3.send buffer length 4.send buffer data 5.send a 0-length block to mark end of stream 6.read clamd reply however i get "UNKOWN COMMAND". Thanks for your help. Best regards! cheney

[clamav-users] INSTREAM scanning

2013-05-20 Thread xingcheng cai
Dear all: I wanna to scan buffer, and i do that as this: 1.connect to clamd.socket 2.send command "zINSTREAM" 3.send buffer length 4.send buffer data 5.send a 0-length block to mark end of stream 6.read clamd reply however i get "UNKOWN COMMAND". Thanks for your help. Best regards! cheney

Re: [clamav-users] INSTREAM scanning

2013-05-20 Thread xingcheng cai
clamd version:0.97.2 2013/5/20 xingcheng cai > Dear all: > > I wanna to scan buffer, and i do that as this: > 1.connect to clamd.socket > 2.send command "zINSTREAM" > 3.send buffer length > 4.send buffer data > 5.send a 0-length block to mark end of stream