C++ Network Programming Part 2: TCP & UDP

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

0:00 Recap on Part 1 - Setting up the socket
2:47 Introduction to TCP
4:19 Client Step 4 - Send data via TCP
13:41 Server Step 6 - Receive data via TCP
18:16 Sending Objects via TCP
21:07 String functions
26:18 Introduction to UDP
31:25 Configuring the Socket to use UDP
32:23 Sending data via the sendto function
39:30 Receiving data via the recvfrom function
42:26 Sending Objects via UDP
46:39 Exercise 1 - Client Step 4 - Sending data via TCP
53:01 Exercise 1 - Server Step 6 - Receiving data via TCP
56:15 Exercise 2 - Server Step 6 - Sending data via TCP
58:57 Exercise 2 - Client Step 4 - Receiving data via TCP
Рекомендации по теме
Комментарии
Автор

Can't thank you enough for taking the time to put these videos together, this has been extremely helpful. Thank you!

austinbachurski
Автор

Thank you for such amazing tutorial! I'm a total beginner but to my surprise after watching this I was able to write a code that does the job and even do exercises by myself and modify it to fit my needs better. Gotta go rewatch both parts to fully understand what the hell have I done! 🤣

ВикаСкоробогатова-пь
Автор

Bro You Are Literally Legend Love YOUR VIDEOs

Unity_and_Peace
Автор

Thank you for this valuable lecture. Actually my coding practice in C++ is very sluggish and this made me easy to catch on. Thank you very much.

nyeinkyawzin
Автор

amazing love it, are there more networking videos?

mersenne
Автор

Hi Nicholas - Thank you for both the videos on this interesting topic.
Kindly teach us design of multi client server application - a chat service application.

Question - Many a times I got error - "unable to start program <path> access denied ", is it something wrong with the code (I am using your code snippet) and after commenting all ws lib code, program start running perfectly.

badassopenpolling
Автор

In the "Transmitting Objects" chapter, we don't really need that explicit casting of the object to (char *), do we?

mafi_tube
Автор

Thanks a lot for your video! I like the style of you teaching! I wanna know could I get the source code just for learning? such as from git or somewhere else.

alanDai-bsmr
Автор

Hello, I would like to ask if other computer can connect to that server and send binary text?

osmanemredonder
Автор

Why didn't we specify the IP ADDRESS and PORT NUMBER of the sender in the UDP Receive Example (at 41:09)? i.e. why didn't we specify the sender's IP ADDRESS and PORT NUMBER in the clientAddress variable? Does anyone know?

uanbu
Автор

I wonder if the TCP send and recv funktions have automated error correction and parity checking built in or if this only sents the raw byte code you put in.?

tillstachelhaus
Автор

sir can we have your slides for the sake of revision. the video full of information than need to be revisited.

shivamkumarmanjhi
join shbcf.ru