A+ 13.9 - TCP vs UDP

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Examples of UDP or Connectionless protocols why are they UDP

DHCP - when you join a network, your device (if setup for dynamic assignment of IP address) will send out a broadcast message on that network looking for a DHCP server. -use UDP because if nobody responds, the client will simply send it out again in hopes someone is there. TFTP - don't need to have assurances that ever single packet was sent

Why is UDP dropping data okay for certain applications?

If it's for say video/audio streaming, even if it drops out for 1/100 of a second, the user may not notice

Examples of TCP or Connection-Full protocols why do they need to be TCP

SSH, HTTP, HTTPS want to make sure what your sending is actually getting there

Explain the 3-way handshake between the Client and server with TCP Every time this data, which is called a ___, is sent across the network, there is going to be a(n) _____ that was received and tells us there was a successful ____ communication occuring.

Syn, Syn Ack, Ack 1. client sends the syn packet (synchronization packet) 2. when server receives, it will send a syn ack (synchronization acknowledgment) to the client. 3. When the client gets the acknowledgement, it will send back its own ack. ___________________- segment, acknowledgement, two-way

Main differences between TCP and UDP

TCP has to make sure all the data gets where it needs to go in the proper order. UDP just starts firing and hopes it gets there but doesn't stop for any dropped data.

TCP stands for

Transmission Control Protocol

connection-oriented protocol, which means it's a reliable way to transport segments across the network

Transmission Control Protocol

TFTP

Trivial File Transfer Protocol - port 69

protocol that works in a connectionless manner using UDP as its transport

Trivial File Transfer Protocol - port 69

UDP stands for

User Datagram Protocol

connectionless protocol

User Datagram Protocol

unreliable and it transmits segments called datagrams

User Datagram Protocol

UDP is really good for _____ because you send a lot of ___ and there's a lot less overhead when you us it, because you don't have the constant ____ to establish it.

audio and visual streaming data 3-way handshake

With TCP, if a segment is dropped, the protocol will actually ask for acknowledgement each and every time. And if it doesn't get that acknowledgement, it's going to ___. That's why we call this a __ protocol because it has this ___ type of information where I'm sending you information and I'm verifying that you actually got it by listening that you got it and you give me a response

resend that piece of information connection-full two-way

When does a retransmission occur with TCP?

say a server was expecting 100 pieces of info but only got 98. It will say to the client "I was expecting 100" and then a retransmission occurs

syn ack

synchronization acknowledgment

syn packet

synchronization packet

Why would TCP not be as good as UDP for audio/visual?

there would be more buffering since if data drops out, you have to wait for it to get resent and put back in the right place


Set pelajaran terkait

examen 2: la seconde guerre mondiale

View Set

MACROECONOMICS: INCOME AND EMPLOYMENT DETERMINATION (set 2)

View Set

CA Real Estate Principles | Chapter 5 Quiz

View Set

Chapter 13. The Nekton: Swimmers of the Sea

View Set

故事一 (对话) Story 1 (Conversation) - Jess and Curly Had a Farm

View Set