3.4.8. Sending messages to UNIX domain sockets

The unix-stream() and unix-dgram() drivers send messages to a UNIX domain socket in either SOCK_STREAM or SOCK_DGRAM mode.

Both drivers have a single required argument specifying the name of the socket to connect to. For the list of available optional parameters, see Section 8.2.8, “unix-stream() & unix-dgram()”.

Declaration: 
                unix-stream(filename [options]);
                unix-dgram(filename [options]);
[Example] Example 3.27. Using the unix-stream() driver
destination d_unix_stream { unix-stream("/var/run/logs"); };

© 2007-2010 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com