It's a chatting system implemented in C - Programming Language by using TCP-Socket programming. In this project multiple Client can send and receive message between each other until they are connected to the Server. Clients can use multiple commands and command format provided by the server to communicate with the server and other actively connected clients via server.
1. Linux OS (if you are windows user use WSL or any Virtual Machine with Linux installed)
2. GCC compiler
If you consider using WSL here is how you can install WSL and Ubuntu or any other distributor in your windows system
Start by updating the package list
sudo apt update
Install GCC compiler
sudo apt-get install gcc -y
Check GCC version
gcc --version
First compile Server.c and Client.c as server and client
gcc Server.c -o server
gcc Client.c -o client
Then run server
./server
Then run client in differnt terminal at same location (you can run same client to multiple terminal to connect more clients with the server)
./client
RUNNING SERVER AND CLIENT
USE OF SOME BASIC COMMAND AND EXIT THE CLIENT
RUNNING CLIENT ON SAME TERMINAL AND ANOTHER CLIENT ON DIFFERNT TERMINAL
SENDING MESSAGE FROM CLIENT 3 TO CLIENT 2
SOME WRONG INPUTS AND RESPONSE FROM SERVER
LIST COMMAND TO CHECK STATUS OF CLIENTS
CLOSING CLIENT AND THEIR STATUS