Skip to content

susanka068/TCP-server-client

Repository files navigation

TCP-SERVER-CLIENT

A simple and lightweight , zero dependency C++ application to emulate a TCP server-client model that uses sockets .

Build Status

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

Features

  • Multiple Client Supported with help of multithreading
  • authentication
  • written in C++17 sysntax
  • A report is also attached above

Installation

clone this repository :

git clone https://github.com/susanka068/TCP-server-client.git

Build Instruction

for 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 server

build the client

g++ -pthread client.cpp -o client

Execution Instruction

staring the server :

./server

starting a client

./client <client_id>

<client_id> is can be given any <= 1000

demo

demo screenshot

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

License

MIT

About

A simple and lightweight C++ application to emulate a TCP server-client model that uses sockets .

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages