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
-
Notifications
You must be signed in to change notification settings - Fork 0
🌐 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 🔧
abdelkarimhajji/web-server
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
🌐 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 🔧
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published