Skip to content

A personal project to build a web server in C++ from scratch. It involves creating sockets to handle communication between the host, clients, and server. Inspired by the Medium post "HTTP Server: Everything you need to know to Build a simple HTTP server" and videos from Eric O Meehan's YouTube

Notifications You must be signed in to change notification settings

LucaPalminteri/web-server-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Personal project to create a web server in C++. Creating the sockets for the communication between host/cliens and server.

I followed the post in Medium from Skrew Everything HTTP Server: Everything you need to know to Build a simple HTTP server from scratch. I highly recommend to read it to understand the basics of an HTTP Server. Also I watched some videos form Eric O Meehan YouTube Channel

Port Number Service Name Transport Protocol Description
21 FTP TCP,UDP,SCTP File Transfer Protocol (FTP) control connection
23 Telnet TCP Telnet protocol-unencrypted text communications
53 DNS TCP,UDP Domain Name System name resolver
80 HTTP TCP,UPD,SCTP Hypertext Transfer Protocol (HTTP) uses TCP in versions 1.x and 2. HTTP/3 uses QUIC, a transport protocol on top of UDP
443 HTTP over SSL TCP,UDP,SCTP Hypertext Transfer Protocol Secure (HTTPS) uses TCP in versions 1.x and 2. HTTP/3 uses QUIC, a transport protocol on top of UDP
989 FTP over SSL TCP,UDP FTPS Protocol (data), FTP over TLS/SSL
990 FTP over SSL TCP,UDP FTPS Protocol (control), FTP over TLS/SSL

About

A personal project to build a web server in C++ from scratch. It involves creating sockets to handle communication between the host, clients, and server. Inspired by the Medium post "HTTP Server: Everything you need to know to Build a simple HTTP server" and videos from Eric O Meehan's YouTube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages