title: Interacting with Application while it's running in C
body: <p>I've been looking for an answer to this question for a while now. I have written a small, lightweight server and it runs just fine really. No problems there; however, there's some things I would like to do with the application while it's actually running. For example: <code>server stop</code> to obviously halt the server.</p>
  
  <p>Perhaps I should be looking at making a daemon for my server? The platform it runs on is Linux, and I have no intentions of porting to non-POSIX platforms, so Windows isn't relevant here.</p>
  
  <p>But yes, to summarize my question: <strong>how to make my application receive 'arguments' or 'tasks'  from outside (such as the command line, or a different application)</strong></p>
  
  <p>Cheers in advance, as I know StackOverflow is always ready with a solid, quick answer,</p>
  
  <p>/Jesse</p>