This repository contains basic server and client program, connection is made with TCP. The server program can hold maximum of thread pool's size minus 1 clients, the server program isn't meant for large number of clients.
To compile server program open terminal go to server directory and write
$ cmake -S . -B build
then go to /build directory and write
$ make
server is set to go, just run it (enter port number as second argument)
$ ./Server 8080
To compile client program open terminal go to client directory and write
$ cmake -S . -B build
then go to /build directory and write
$ make
client is set to go, just run it (enter port number as second argument)
$ ./Client 8080
P.S. the comments of main.cpp-s are generated with the help of chatGPT)