Skip to content

davidks13/TCP_Server_Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP_Server_Client

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published