I need to create a daemon in a server(A), to be ready in accepting commands from a webserver(B).
Upon receiving this command, I need to execute a series of command lines in the server(A) to run an application, and get output of command execution.
The daemon needs to fork a new child when accepting a command such that it can be parallel.
I was reading Net::Daemon for this, but I have no idea of how to create the connection from A to B and passing the command.
In reply to Daemon with Net::Daemon by tja_ariani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |