- Linux or Mac OS
- Gtk
- bash v3+ as default shell
- gcc, make
$ sudo dpkg -l | grep build-essential
$ sudo dpkg -l | grep libgtk2
$ apt-get update
$ apt-get install build-essential
$ apt-get install libgtk2.0-dev
$ brew update
$ brew install gtk
# clone repo or download
$ cd src/
$ chmod +x configure.sh
$ ./configure.sh -b
$ chat-server
$ chat-client
$ chat-shell-client
- Linux
- bash v3+ as default shell
- gcc, make
$ sudo dpkg -l | grep build-essential
$ apt-get update
$ apt-get install build-essential
# clone repo or download
$ cd src
$ chmod +x configure.sh
$ ./configure.sh -s
$ chat-server
$ chat-shell-client
Do the following steps:
- Run server first ;
- Wait until the server display this message : "Server is ready" ;
- The server will display the TCP port to use (1111 or 1112 or 1113 until the port is open and free)
- Run the client with the host "127.0.0.1" and the previous port
The chat client commands :
/QUIT
: quit the chat/STOP
: stop the server
There is log files for each apps with following log messages levels:
LOG_DEBUG
: debugging messagesLOG_ERR
: error messagesLOG_INFO
: informations messagesLOG_WARNING
: warning messages
You can use grep on this levels
Enjoy !