[Mono-list] UnixStream/Pipe Best Practices

Michael Schurter michael at susens-schurter.com
Mon Nov 13 15:51:43 EST 2006

Hi all,

My goal is to generate useful stats and pretty graphs from my SonicWall
firewall without buying their ViewPoint software.

Right now I have syslog-ng accepting log messages from the firewall and
dumping them to a file.  I have a C# program that can read this log file
and dump relevant data into a database.

Now I'd like to streamline the process. I don't know much about Unix
streams/sockets/pipes (obviously), but it seems like the easiest way to
pipe data from syslog-ng to my Mono program (which I would run as a

The example for UnixStream looks simple enough, but I don't know the
best practice for using that in a service.

If someone could even just point me toward what to google, that would be
very helpful!


(And if anyone wants the source, I'm more than happy to share it.  It
doesn't do much at this point.)

Michael Schurter

More information about the Mono-list mailing list