2.1 Compare and contrast TCP and UDP ports, protocols, and their purposes Flashcards

1
Q

What is TCP?

A

Transmission Control Protocol

  • Connection Oriented
  • There is a formal set up and close.
  • Reliable form of deliver because if any errors occur during the communication there is a process for re-transmiting that data to make sure everything gets through the network
  • Acknowledgement from the receiving station that data was received
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is UDP?

A

User Datagram Protocol

  • Connectionless
  • No formal open or close to the connection
  • Unreliable Delivery
  • No error recovery
  • No reordering of data or re-transmissions
  • No acknowledgement from the receiving station that data was received
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do Ports work?

A

Client sends information into a server and we know which service on that server needs to receive that data

Many different services can run on a server

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

Steps of how IP transmits data

A

Ethernet Network -> Sending data using IP -> Which is using TCP -> Which has application data inside of that

TCP and UDP is transported inside of IP

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

What is UDP and TCP

A

Two different ways to move data from place to place

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

What are the two different types of ports?

A
  • Ephemeral Ports
  • A client is usually using a random set of port numbers
  • Determined in real time by the client

(We communicate to the server using the server’s port numbers, and the server has to communicate back to the client using the client’s port numbers)

  • Non-Ephemeral Ports
  • Permanent ports
  • Usually port numbers assigned to an application
  • Usually on a server or service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Are TCP port numbers the same as UDP port numbers?

A

No, they are different

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

What is Multiplexing?

A
  • It allows us to use many different applications at the same time
  • TCP and UDP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly