The aim of the project is to create the a multi room chat based on Berkley Socket API. http://en.wikipedia.org/wiki/Berkeley_sockets. Functionalities provided by the server are:
- concurrent access of multiple clients
- maintaining and showing the clients list
- creating or joining a room
- changing host nickname
- sending a private message to a specific user
- Write to the console to send a message to the current client room
/room "[ROOMNAME]"
to change the current room/nickname "[NICKNAME]"
to change nickname/[NICKNAME] "[MESSAGE]"
to send a private message to the nickname specified/list "ALL"
to get all participants nickname and rooms/list
"[ROOMNAME]" to see all client in the relative rom/help
to get the available commands
make clean
make
./chat_server [portNumber]
./chat_client [serverIp] [serverPort]
A demonstration video is available at the url:
http://www.youtube.com/watch?v=-33-0DcUfS4
- Linux, Unix, Mac
- gcc compiler version 4.1+