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

Professor Messer Videos CompTIA A+ 1001 + 1002 > 2.1 Compare and contrast TCP and UDP ports, protocols, and their purposes > Flashcards

Flashcards in 2.1 Compare and contrast TCP and UDP ports, protocols, and their purposes Deck (8)
Loading 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
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
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

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

5
Q

What is UDP and TCP

A

Two different ways to move data from place to place

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
7
Q

Are TCP port numbers the same as UDP port numbers?

A

No, they are different

8
Q

What is Multiplexing?

A
  • It allows us to use many different applications at the same time
  • TCP and UDP