Server Programming?
There definitely seem to be a lot of answers that come from a good place in this post but may find themselves a little bit overwhelming to someone new to the server space.
If you want the coding "Hello World" of servers
https://www.geeksforgeeks.org/socket-programming-cc/ (it's very crude by illustrates the point). It's the simplest client/server model in which the client and server are physically located on the same machine.
A lot of the above answers make an assumption that you either have a background in networking or understand what networking can be used for.
Eli is great at taking what I would describe as super hard topics and breaking them down into core points.
If you wanted an actual C++ example and not just a C example as posted above https://www.boost.org/doc/libs/1_68_0/doc/html/boost_asio/examples/cpp11_examples.html
https://www.boost.org/doc/libs/1_70_0/libs/beast/doc/html/beast/examples.html
C++20 will bring a lot of that into the core library, but you'll have to wait a little bit
I recommend watching Eli's tutorials before moving onto the C++ examples as you'll probably need some of the background. I hope this helps you
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now