Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,570 --> 00:00:01,630
Well, hi, guys.
2
00:00:01,650 --> 00:00:01,840
Hey.
3
00:00:01,860 --> 00:00:07,770
So in this lesson, guess what, we're going to learn some differences between UDP and TCP because I
4
00:00:07,770 --> 00:00:10,440
know you had those questions bubbling around in your head.
5
00:00:11,220 --> 00:00:12,600
So let's get started right away.
6
00:00:14,380 --> 00:00:19,750
So remember when I said way back in the beginning, the IP cannot distinguish between communication
7
00:00:19,750 --> 00:00:25,990
programs running on the same computer because when you look at the package structure, I'll tell you
8
00:00:25,990 --> 00:00:26,710
why, by the way.
9
00:00:27,430 --> 00:00:33,730
And so when you look at the package structure, you will see that only source and destination addresses
10
00:00:33,730 --> 00:00:34,270
are used.
11
00:00:34,680 --> 00:00:34,920
Right?
12
00:00:35,500 --> 00:00:41,110
But in reality, many programs can run on two different computers let's say computer a computer b,
13
00:00:41,110 --> 00:00:42,790
and they communicate with each other.
14
00:00:43,930 --> 00:00:49,090
So these programs are separated from each other by the protocols used in the transport layer.
15
00:00:50,510 --> 00:00:58,550
IP uses two protocols and the transport layer, and these protocols are the UDP or user data, grim
16
00:00:58,550 --> 00:01:03,710
protocol and TCP or transmission control protocol.
17
00:01:05,100 --> 00:01:11,910
So UDP is a connection less protocol, and TCP is a connection based protocol.
18
00:01:14,550 --> 00:01:14,850
All right.
19
00:01:15,030 --> 00:01:16,130
So we've got UDP.
20
00:01:16,350 --> 00:01:19,740
This is one of the protocols that applications used to transfer data.
21
00:01:19,980 --> 00:01:20,460
OK.
22
00:01:21,850 --> 00:01:30,040
Now, the created UDP packets are encapsulated by IP and transported in the IP environment.
23
00:01:31,090 --> 00:01:34,810
So no prior connection is required to carry UDP packets.
24
00:01:35,850 --> 00:01:40,080
UDP packet structure is as simple as shown in the figure here.
25
00:01:40,990 --> 00:01:45,700
The header consists of eight bytes, followed by the data field.
26
00:01:47,320 --> 00:01:50,320
The UDP packets are also called segments.
27
00:01:51,990 --> 00:01:57,990
And the source and the destination ports indicate through which ports, the nodes, whose addresses
28
00:01:57,990 --> 00:02:03,330
are given in the IP data, grams will carry out this communication.
29
00:02:04,570 --> 00:02:05,020
Excellent.
30
00:02:05,590 --> 00:02:09,610
So UDP length reports the length of the hadarin data field.
31
00:02:10,620 --> 00:02:13,440
Air testing may not be used in UDP.
32
00:02:14,540 --> 00:02:22,700
UDP is a pretty simple protocol, so it doesn't deal with issues like resending loss data or flow control.
33
00:02:23,480 --> 00:02:26,840
It creates an interface for the use of IP.
34
00:02:27,260 --> 00:02:31,010
So it's preferred in real time applications because of its simplicity.
35
00:02:32,700 --> 00:02:38,160
Now, UDP can also be used in applications where short request and responses are migrated.
36
00:02:39,340 --> 00:02:43,600
UDP connections do not need to be set up or released.
37
00:02:44,620 --> 00:02:48,370
So actually, nothing is done for lost UDP segments.
38
00:02:50,280 --> 00:02:56,250
Now, an advanced computer networks, the UDP protocol has been developed in order to create a data
39
00:02:56,250 --> 00:03:00,240
graham mode and packet switched computer communication.
40
00:03:01,790 --> 00:03:08,090
That said, protocol includes a procedure for sending a message from one application program to another
41
00:03:08,750 --> 00:03:10,850
with minimal protocol mechanisms.
42
00:03:12,110 --> 00:03:14,750
Applications that want the package guarantee.
43
00:03:15,770 --> 00:03:17,690
We'll also use the TCP protocol.
44
00:03:19,360 --> 00:03:26,590
So UDP, which is used in real time data transfers, such as image and audio transmission in wide area
45
00:03:26,590 --> 00:03:34,720
networks called when also minimizes data transmission time since it does not perform flow control and
46
00:03:34,720 --> 00:03:37,000
connection establishment processes.
47
00:03:38,640 --> 00:03:46,380
Now, if TCP and UDP use the same communication path, the service quality of that real time data transfer
48
00:03:46,380 --> 00:03:52,110
with UDP will decrease due to the high data traffic created by TCP.
49
00:03:54,090 --> 00:03:56,580
So protocols that use the UDP.
50
00:03:57,240 --> 00:04:03,150
Well, they include TFTP, DNS and as MP.
51
00:04:04,980 --> 00:04:12,900
Application programmers often prefer UDP over TCP, and that's because UDP does not take up much bandwidth
52
00:04:12,900 --> 00:04:13,530
on the network.
53
00:04:17,180 --> 00:04:24,830
Now, you could probably characterize UDP as an unreliable transport protocol because after sending
54
00:04:24,830 --> 00:04:29,570
the packet over to the network, it doesn't care whether it's sent or not.
55
00:04:29,780 --> 00:04:35,750
It doesn't even keep track and therefore it doesn't have the authority to confirm whether the packet
56
00:04:35,750 --> 00:04:38,930
has reached its destination or not, or even can.
57
00:04:40,170 --> 00:04:43,950
So applications that want to send data securely over UDP.
58
00:04:44,700 --> 00:04:48,090
Well, they've got to do so on their own methods.
59
00:04:49,950 --> 00:04:57,930
So UDP is a protocol that focuses on exchanging a few messages as possible and operates at the transport
60
00:04:57,930 --> 00:04:58,290
layer.
61
00:04:59,870 --> 00:05:05,120
And it really does not guarantee whether the data is transmitted correctly or incorrectly.
62
00:05:05,570 --> 00:05:07,130
It just doesn't care.
63
00:05:08,950 --> 00:05:12,700
So now some more these differences between UDP and TCP.
64
00:05:14,120 --> 00:05:20,750
The TCP protocol guarantees sequential sending a packet, while of course UDP does not.
65
00:05:22,060 --> 00:05:25,630
TCP packets contain a sequence number in the header information.
66
00:05:26,540 --> 00:05:28,460
UDP does not.
67
00:05:29,790 --> 00:05:33,300
That's why TCP always requests the next packet.
68
00:05:33,900 --> 00:05:39,720
So in other words, if a different package is received, it notifies the other party and changes the
69
00:05:39,720 --> 00:05:43,680
package that should arrive first and puts that forward.
70
00:05:44,580 --> 00:05:49,020
So UDP could not come anywhere close to doing any of that.
71
00:05:50,220 --> 00:05:50,520
Right.
72
00:05:51,600 --> 00:06:00,960
Now, unlike the UDP protocol, TCP IP guarantees security because TCP IP checks with acknowledgement.
73
00:06:02,100 --> 00:06:08,910
So in other words, when the package sent, the other party considers that packet as unsent sends it
74
00:06:08,910 --> 00:06:12,810
again without informing that it has received the packet.
75
00:06:13,320 --> 00:06:20,100
And then in addition to that, it keeps control information in the header information in order to understand
76
00:06:20,100 --> 00:06:22,530
whether the packet is going correctly.
77
00:06:23,250 --> 00:06:30,300
So UDP also keeps control information, but if this control is wrong, it's not going to request the
78
00:06:30,300 --> 00:06:31,290
same packet again.
79
00:06:33,270 --> 00:06:41,040
So TCP establishes an uninterrupted connection until the process terminates, while UDP cannot.
80
00:06:41,950 --> 00:06:48,130
UDP only connects when data is to be sent and then disconnects when the process is finished.
81
00:06:49,530 --> 00:06:56,250
All right, so that's enough of this UDP and TCP stuff, but now you know the differences in why one
82
00:06:56,250 --> 00:06:57,360
is used over the other.
83
00:06:59,330 --> 00:07:02,570
We've got great stuff coming up for you now that, you know, all that.
84
00:07:02,900 --> 00:07:04,280
So I'll see you on the other side.
8353
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.