J
Javier 12
Hi, i'm coding a linux local server (daemon) and it will have a command
line tool to communicate with it.
What I want to accomplish is something like iptables tool, you write
some rules on the command line and they are sent to the "daemon", in
this case the kernel module.
How can I achieve it? I've seen ruby does not support mkfifo, and a
solution based on system() calls is really ugly.
Unix socket? plain file?
what do you use?
thanks in advance
line tool to communicate with it.
What I want to accomplish is something like iptables tool, you write
some rules on the command line and they are sent to the "daemon", in
this case the kernel module.
How can I achieve it? I've seen ruby does not support mkfifo, and a
solution based on system() calls is really ugly.
Unix socket? plain file?
what do you use?
thanks in advance