Message Server
This program should implement a message system similar to ICQ. It has to implement (at least) the following features:
Text client using ncourses (a Linux library to work with xterm). A graphic X11 based client is optional.
Warning for users when a new user comes online or goes offline.
A command (or text window) to show who is online at the moment.
The ability to send messages to a particular user. Sending messages to a group of users is optional.
The ability to leave messages to offline users. When this users come online they will see the messages.
NOTE: The program must use shared memory and threads in its implementation (take care to protected shared memory areas with mutex and/or semaphores). The program does not need to keep information on files, it does not have to be persistent.