A simple and lightweight , zero dependency C++ application to emulate a TCP server-client model that uses sockets .
This Project is developed as a part of Assignment 1 of Internect Technology course offered by Jadavpur University .
- It Uses Sockets
- Multithreading is also used to support multiple client
- Multiple Client Supported with help of multithreading
- authentication
- written in C++17 sysntax
- A report is also attached above
clone this repository :
git clone https://github.com/susanka068/TCP-server-client.gitfor this it is already assummed that you a standard c++ compiler installed on your machine . if not check this out or any other standard tutorial in installing a c++ compiler
build the server :
g++ -pthread server.cpp -o serverbuild the client
g++ -pthread client.cpp -o clientstaring the server :
./serverstarting a client
./client <client_id><client_id> is can be given any <= 1000
Free Software, Hell Yeah!
!!This is a lightwweight app to demonstrate the function of sockets in C++ and is not meant to be used in production
MIT
