Minor 1 project
-
Clone the repo
git clone https://github.com/himanshu06d/TruChat.git -
Run the makefile command
make Makefile compile-OR- -
Compile server.c
gcc -Wall -g3 -fsanitize=address -pthread server.c -o serverThen compile client.cgcc -Wall -g3 -fsanitize=address -pthread client.c -l sqlite3 -o client -
Install dependancy
sudo apt-get install libsqlite3-dev -
Open 3 terminals
a) In first terminal
./server 8888b) In second terminal
./client 8888c) In third terminal
./client 8888 -
Now Enjoy chatting
To see the chats in the database, open the folder in VScode install sqlite3 extension -> Right click on test.db -> In the SQLite explorer click on run button in front of the table name
Ayush Bansal, Sahil Bansal, Himanshu Dubey, Aditya Raj.