title: Any suggestion about writing a chat room C program in Linux using Pipes and Daemon Processes?
body: <p>The requirement is to make a C/C++ program that is a chat room.  </p>
  
  <p>1, Both the client and server program need no GUI, use command line only. And they only need to run in the same machine, connected with pipes.  </p>
  
  <p>2, Use a FIFO queue in a Daemon Process, and users can chat using the Daemon Process at the same time.  </p>
  
  <p>3, The Daemon Process refreshes the number of online users and print login/out messages to the clients.  </p>
  
  <p>4, Client requires a nick name on start and the server reject when the nick name conflicts.</p>
  
  <p>.  </p>
  
  <p>It's supposed to adapt Processes, Daemon Processes, Pipes, Signals, I/O, Threads to make this program, as much as possible.</p>
  
  <p>Now I'm not familiar with Processes in Linux. Can you show me an Example of operating processes for a chat room, or a simple frame that I can write the functions without worrying the processes.   </p>
  
  <p>And any other suggestions about writing this program is welcome!</p>