I have been looking for the answer to this question for a while. I wrote a small, lightweight server and it works just fine. No problem; however, there are some things that I would like to do with the application while it really works. For example: server stopto explicitly stop the server.
Perhaps I should look at creating a daemon for my server? The platform on which it runs is Linux, and I have no intention of porting to platforms other than POSIX, so Windows is not appropriate here.
But yes, to summarize my question: how to get my application to receive “arguments” or “tasks” from the outside (for example, on the command line or in another application)
Welcomes in advance, since I know that StackOverflow is always ready with a solid quick response,
/ Jesse
source
share