[zeromq-dev] Question on 0mq socket type for receiving syslog message.
Martin Sustrik
sustrik at 250bpm.com
Mon Jun 27 09:44:29 CEST 2011
On 06/27/2011 08:14 AM, maharshi bhatt wrote:
> I have a quick question. I am new to 0mq and just started on it. I want to use 0mq to receive syslog messages from syslog servers running on router devices. What is the appropriate socket type to use for this purpose? Should I use ZMQ_PULL? If yes, will it work without ZMQ_PUSH not done on the other end as it is the syslog server running on router device thats sending the syslog message.
> If anybody has an helpful code sample that would be great.
You mean, "sys://log", right?
Use sub socket to connect to sys://log.
Martin
More information about the zeromq-dev
mailing list