An open API service indexing awesome lists of open source software.

https://github.com/abdelkarimhajji/web-server

🌐 The 42 Network WebServ project teaches students how to make a web server. They learn about how the internet works and how to handle requests from users. By building their own server, they learn valuable skills for creating websites. #LearnToCode #WebDev 🔧
https://github.com/abdelkarimhajji/web-server

1337cursus 1337school 42projects http-server webserver

Last synced: about 1 month ago
JSON representation

🌐 The 42 Network WebServ project teaches students how to make a web server. They learn about how the internet works and how to handle requests from users. By building their own server, they learn valuable skills for creating websites. #LearnToCode #WebDev 🔧

Awesome Lists containing this project

README

        

The server part :
1- create a socket
2- bind the socket : associate a socket with a specific local address and port
3- put the socket in the listening state
4- starting from this point, i keep monitoring -using select- select() works by blocking until something happens on a file descriptor (aka a socket)
5- if some fd is ready for reading, the function -accept- return a new fd that will be used for communication, leaving the original free to accept other incoming connections