Skip to content

esap120/Mutlithreaded_Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Each client should connect and send some number of lines each of which contains a 
positive integer, terminated by a -1.

The server creates a thread when the client connects and that thread sums up all the 
integers sent by the client and sends the sum to the client.

Server sends each client a second line that reads: "The current Grand Total is XXXXX 
and I have served YYYYY clients so far!", where the number XXXXX is the sum of the 
totals for ALL clients served and YYYYY is the total number of client requests.

About

Simple Server/Client Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages