linux | windows | coverity | cmake |
2.8 |
a chatting server
linux
mkdir build
cd build
cmake ..
make
windows (MSVC 9+ build)
mkdir build
cd build
cmake -G"NMake Makefiles" ..
nmake
start Azalea server in 1st terminal
./ichat
connect the server from the tcper in 2nd terminal
./bin/tcper
$lijun
open another connection in 3rd terminal
./tcper
$rex
*lijun
hello, this is a message send to lijun from rex
and then, the 2nd terminal will received the message hello, this is a message send to lijun from rex
.
😄