How to create Web Server in C++ under 600s - Tutorial #cpp #programming

preview_player
Показать описание

This should give you some idea how servers exactly work under the hood. Besides, it's a fun project!

But Note! Real servers need much more security checks and configurations! Don’t use this in real life!!

Subscribe so I can waste more of your time 🙂

Cheers!
Рекомендации по теме
Комментарии
Автор

"All that for a drop of blood" -Thanos

crappywindow
Автор

i ve tried several times to write a server using c++ under windows but i was keep getting errors and warnings. i found it easier for linux. i should try this tutorial and hope it works. ive concluded using python or some of the other languages would be the best option

ngrljbi
Автор

should you return -1, if the server fails to create? Also try creating the server as a cross-platform server you might try creating a server class to hold the sockets and use if constexpr to initialize and work with the OSes socket API.

vickoza
Автор

It's okay, but it's somehow more C-style code than modern C++ because of API which have been used. I mean in C++ it would look cleaner

keshkek
Автор

Okay. But why are we defining no warnings for deprecated winsock 🤨

edapb
Автор

hey brother try to reduce the noise of the background it irritates to code and also disturbind while coding

theallrounder-uttkarshkesh
Автор

I like your music but it would have been better if you turned it down some so that we could understand what you are saying easier.

jayweaver
Автор

Cool, but where exactly did you find the reference to write such a project? Or you just were digging into Windows' docs and from there you understood how to create the project?

alexdzyuba
Автор

Great tutorial. If I were to write a html5 document with php and javascript variables, how would I link it to this? I aim to host the web api using c++, same like you did here, but I want to add buttons and sliders to the page using php and javascript.

aj_art
Автор

What are the prerequisites for doing this project?

stdmfvr
Автор

Hi, is there a book/resource that teaches all this in detail that i can refer to?

cnrxt
Автор

Good tutorial but i needed for Linux 😅

The machine were I host Is Linux

Mabox-sciz
Автор

Where did you go to college? @programmer Egg

cycruxq
Автор

real men don't use node, python, javascript, angular, react, c#(microsoft's java), etc etc etc

raulguerreroflores
Автор

is your name is egg cause i eat egg everyday lol

adityaSwamii