title: Interprocess communication with a Daemon
body: <p>I want to implement a Unix daemon (let's call it <em>myUnixd</em>), and want the user to be able to interact with this daemon via the command line, for example:</p>
  
  <pre class="lang-sh prettyprint-override"><code>myUnixd --help # will display help information
  myUnixd --show # will show some data (the's deamon should be doing the work)
  </code></pre>
  
  <p>So my question is: How can I communicate with the daemon? I was thinking about Unix domain sockets. Can someone tell me the right way to do this?</p>
  
  <p>Thanks.</p>