title: g-wan main.c - to listen to sockets
body: <p>I want to fork a sub-program to do some routine jobs or listen to some sockets.<br>
  If this can be done, please show with a simple example how this forked program can access the G-WAN KV store via a persistent pointer.</p>