-
Uses TCP to ensure your messages reach their destination.
-
Supports multiple simultaneous connections (default is 10).
-
Every message sent is broadcast to all connected participants.
- A C++17 compiler (g++, clang, etc.)
- CMake
Standard CMake:
mkdir -p build
cd build
cmake ..
make./serverOpen a new terminal. Or five. Default connects to localhost.
./clientGot a friend on the same network? Tell them your IP (or port forward it through if not):
./client <YOUR_IP_ADDRESS>Type stuff, hit enter.