UDP/IP Flashcards

(12 cards)

1
Q

What does the term “UDP” stand for?

A

User Datagram Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is a stateless protocol that doesn’t require a constant connection between the two devices for data to be sent. For example, the Three-way handshake does not occur, nor is there any synchronisation between the two devices.

A

UDP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

UDP packets are much simpler than TCP packets and have fewer headers. However, both protocols share some standard headers:

A

Time to Live (TTL)
Source Address
Destination Address
Source Port
Destination Port
Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

This field sets an expiry timer for the packet, so it doesn’t clog up your network if it never manages to reach a host or escape!

A

Time to Live (TTL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The IP address of the device that the packet is being sent from, so that data knows where to return to.

A

Source Address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The device’s IP address the packet is being sent to so that data knows where to travel next.

A

Destination Address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This value is the port that is opened by the sender to send the UDP packet from. This value is randomly chosen (out of the ports from 0-65535 that aren’t already in use at the time).

A

Source Port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This value is the port number that an application or service is running on the remote host (the one receiving the data); for example, a webserver running on port 80. Unlike the source port, this value is not chosen at random.

A

Destination Port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

This header is where data, i.e. bytes of a file that is being transmitted, is stored.

A

Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What type of connection is “UDP”?

A

Stateless

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What protocol would you use to have a video call?

A

UDP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What protocol would you use to transfer a file?

A

TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly