TCP Client Server Application | C++ in 2021
In this lesson, we go over the basics of network communication by creating a simple TCP Client and TCP Server using the Boost ASIO C++ libraries.
Due to the libraries being incompatible with C++ 20 modules, I walk you through the process of creating a new CMake project, downloading and including the libraries and then building out a basic "Hello, Network" application that sends a message to a client that connects to the server.
In future lessons, we'll expand on these applications as we delve into the various C++ topics with the end goal being to create a MUD (Multi-User Dungeon) application.
Chapters
00:00:00 So our story begins...
00:01:24 Setting up the CMake project
00:10:30 Adding the Boost library to our project
00:16:17 Creating a simple tcp server
00:24:00 Creating a simple tcp client
00:32:58 TCPServer class 01 | Building our Networking Library
00:46:15 TCPConnection class | Building our Networking Library
00:55:15 TCPServer class 02 | Building our Networking Library
00:58:49 Double checking and housekeeping (shared_from_this)
01:01:49 Using our library to create our tcp server
01:03:38 Testing client + server
01:05:05 Persistent Connections
01:09:47 Detecting dropped TCP connections
01:13:17 Potential Enhancements (Future videos)
01:19:26 Thanks for watching ( plz dont skip =] )
-
1:30:10
Awaken With JP
5 hours agoWill They ALLOW Trump to Win? - LIES Ep 55
49.8K141 -
LIVE
Jamie Kennedy
15 hours agoPeople just Don't Like Hollywood Anymore...
29 watching -
LIVE
Exploring With Nug
5 hours agoMissing Woman's body was FOUND buried Under A Backyard Firepit!
109 watching -
1:47:20
Mostly Sports With Mark Titus and Brandon Walker
4 hours agoMostly Sports College Football Dynasty League | Week 6 Session 2
20.3K1 -
2:45:53
PudgeTV
9 hours ago🟡 Practical Pudge Ep 37 | Krystal Parker, MBA - 1st Reappearance | DISC Assessment - Who Am I?
18.1K1 -
3:23:41
Due Dissidence
8 hours agoIsrael SHUTS DOWN General Strike, US SEIZES Maduro's Plane, Post-Labor Day POLLING Shows TIGHT RACE
34.6K23 -
1:00:58
In The Litter Box w/ Jewels & Catturd
19 hours agoKamala Lies | In the Litter Box w/ Jewels & Catturd – Ep. 638 – 9/3/2024
42.2K37 -
15:20
Lauren Chen
2 hours agoWomen Vs The POV Meme...
21K19 -
1:36:06
The Quartering
5 hours agoKamala Harris Humiliated Again, Trump Supporter Attacked, Gen Z Infinite Money Glitch Backfires!
54.7K50 -
2:11:05
Barstool Yak
7 hours agoThe Yak with Big Cat & Co. Presented by Rhoback | The Yak 9-3-24
34.6K