Skip to content

ckevar/barebones-webserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

barebones-webserver

A bare bones web server written in C++ (orignally written for windows)

Based on the forked repository; however, this WebServer has been modified for running on Linux (ubuntu/pop-os) and uses poll() instead of select() .

the Maximun number of clients is MAX_CLIENTS = 10 and can be modified in Tcplistener.h code. Due to poll() is being used, the maximun recomended is 1000, to reach further number of clients, it can be modified to use epoll() for having between 1000 to 10000 active file descriptor.