Section 13(p10) - TCP Versus UDP

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

What are the port numbers used by DHCP?

67 and 68

What port number does TFTP operate over?

69

What is a connection-oriented protocol?

A reliable way to transport segments

What is a datagram in UDP?

A segment of data transmitted.

What is an ack?

Acknowledgment sent by the client

What are the use cases for UDP?

Applications where speed is more important than reliability.

What is the main advantage of TCP?

Assured delivery of data.

What is the advantage of UDP over TCP?

Faster transmission speed

Why would we want to drop information in certain applications?

For certain applications, dropped information may not be noticeable.

Give an example of a protocol that uses TCP for secure communication.

HTTPS is an example of a protocol that uses TCP for secure communication.

What is the main disadvantage of TCP?

Higher overhead due to connection setup and acknowledgment.

What does the client ask in the three-way handshake?

If the server is ready to receive information

How does UDP handle out-of-order segments?

It broadcasts them as they arrive.

What is the benefit of TCP's retransmission feature?

It ensures reliable delivery of data.

What is the significance of understanding TCP versus UDP?

It is an important concept in networking.

What happens when information is dropped in UDP?

It is not retransmitted.

What is the drawback of using TCP for video and audio streaming?

It leads to more buffering and uses more bandwidth.

How does TCP handle out-of-order segments?

It reorders them based on sequence numbers.

What happens if the server doesn't receive all the expected information in TCP?

It requests retransmission of missing data.

Why is DHCP considered a connectionless protocol?

It sends out messages and waits for response, rebroadcasts if necessary

What is the main disadvantage of UDP?

Lack of reliability and error detection.

Why is UDP good for audio and visual streaming?

Less overhead and zero retransmissions.

What are the overheads associated with UDP?

No connection, windowing, retransmission, sequencing, or acknowledgement.

What is the main advantage of UDP?

No need for connection setup and acknowledgment.

Does UDP have acknowledgement?

No, UDP does not have acknowledgement.

Is UDP reliable?

No, it is unreliable.

What is a three-way handshake?

Process of establishing a connection between client and server

What happens if a segment is dropped in TCP?

Protocol asks for acknowledgment and resends the information

What is TCP?

Protocol for assured delivery of network data.

What is a connection-full protocol?

Protocol that verifies information exchange

What is the advantage of TCP over UDP?

Reliable data transmission

Give an example of a protocol that uses TCP.

SSH is an example of a protocol that uses TCP.

How does DHCP work?

Sends broadcast message, waits for response

What does the client do after receiving the server's response in the three-way handshake?

Sends its own acknowledgment

What is a syn ack?

Synchronization acknowledgment sent by the server

What is a syn packet?

Synchronization packet sent by the client

What is the disadvantage of TCP compared to UDP in terms of buffering?

TCP can lead to more buffering compared to UDP.

What is the difference between TCP and UDP?

TCP is connection-oriented, UDP is connectionless

What is the main difference between TCP and UDP?

TCP is connection-oriented, while UDP is connectionless.

What is the main difference between TCP and UDP?

TCP is reliable with a three-way handshake, while UDP is unreliable with no three-way handshake.

What is the main difference between TCP and UDP?

TCP is reliable, while UDP is unreliable.

What type of data is TCP suitable for?

TCP is suitable for data that requires reliable delivery, such as secure communication and file transfers.

What is the disadvantage of TCP compared to UDP in terms of bandwidth usage?

TCP uses more bandwidth compared to UDP.

What is flow control?

TCP's mechanism for managing data flow.

What is acknowledgement?

TCP's mechanism of confirming received segments.

What is windowing?

TCP's method of controlling the amount of data sent.

What is segment retransmission?

TCP's method of resending lost segments.

What is sequencing?

TCP's process of ordering segments.

Give an example of a protocol that uses UDP for file transfer.

TFTP is an example of a protocol that uses UDP for file transfer.

What does the server respond in the three-way handshake?

That it is ready to receive information

What is the advantage of using TCP?

The advantage of using TCP is reliable delivery of data.

What is the advantage of using UDP?

The advantage of using UDP is low overhead and fast transmission.

What is the disadvantage of using TCP?

The disadvantage of using TCP is higher overhead and potential for slower transmission.

What is the disadvantage of using UDP?

The disadvantage of using UDP is the lack of reliability and potential for data loss.

What is the main difference between TCP and UDP?

The main difference is that TCP is connection-oriented, while UDP is connectionless.

What is the purpose of connection-oriented protocols?

The purpose of connection-oriented protocols is to ensure reliable and ordered delivery of data.

What is the purpose of connectionless protocols?

The purpose of connectionless protocols is to allow for quick and efficient transmission of data without the need for establishing a connection.

What happens if a datagram is dropped in UDP?

The sender is unaware of the drop.

Why would someone use UDP instead of TCP?

To avoid the overhead of connection setup and acknowledgment.

What is the purpose of acknowledgment in TCP?

To confirm successful two-way communication.

What is the purpose of retransmission in TCP?

To ensure complete and accurate data transmission.

What is the purpose of TCP?

To ensure data reaches its final destination.

What is the purpose of using TCP for video streaming and audio streaming?

To ensure reliable delivery and minimize data loss.

What is the purpose of the three-way handshake in TCP?

To establish a connection between two hosts.

What is the purpose of the three-way handshake in TCP?

To establish a reliable connection.

What is the purpose of using UDP for video streaming and audio streaming?

To optimize performance and reduce buffering.

What is the purpose of the fire and forget method in UDP?

To quickly send data without waiting for acknowledgements.

What is the purpose of UDP?

To transmit data without waiting for connections.

What is TCP?

Transmission Control Protocol

What happens after the three-way handshake is completed?

Transmission of data begins

What is TFTP?

Trivial File Transfer Protocol

What is the advantage of UDP over TCP in terms of performance?

UDP can increase network performance.

What is the advantage of UDP over TCP in terms of overhead?

UDP has less overhead compared to TCP.

What is the advantage of UDP over TCP in terms of retransmissions?

UDP has zero retransmissions compared to TCP.

What is UDP?

UDP is a connectionless protocol.

What are some characteristics of UDP?

UDP is connectionless and does not guarantee reliable delivery of data.

What is the disadvantage of UDP compared to TCP in terms of reliability?

UDP is not very reliable compared to TCP.

Why is UDP suitable for audio and video streaming?

UDP is suitable for audio and video streaming because it doesn't require every piece of data to be received.

What type of data is UDP suitable for?

UDP is suitable for data that can tolerate some loss, such as audio and video streaming.

Why is UDP used for DHCP?

UDP is used for DHCP because it allows for quick and efficient allocation of IP addresses.

Why is UDP used for TFTP?

UDP is used for TFTP because it allows for fast and simple file transfers.

What is the disadvantage of UDP compared to TCP in terms of dropped information?

UDP may drop information, which can be a disadvantage in certain applications.

Why is UDP preferred for video streaming and audio streaming?

UDP's advantages in terms of overhead and retransmissions make it suitable for streaming.

What is UDP?

Unreliable protocol with no three-way handshake.

What is UDP?

User Datagram Protocol

What does UDP stand for?

User Datagram Protocol.

What are the potential issues with UDP and out-of-order segments?

Video may have jumpiness or audio may have distortions.

Why do we need connection-oriented protocols like TCP for HTTPS?

We need connection-oriented protocols for HTTPS to ensure reliable and secure transmission of sensitive information.

Why do we need connection-oriented protocols like TCP for SSH?

We need connection-oriented protocols for SSH to ensure reliable two-way communication and control of remote servers.

What are some examples of applications that use TCP?

Web browsing, email, file transfer

What are the use cases for TCP?

Banking, websites, eCommerce, etc.

Why is TCP preferred for critical applications like banking?

Because it guarantees data delivery and integrity.

What is the analogy used to explain TCP?

Certified mail with a receipt.

What is an acknowledgment in data transmission?

Confirmation of successful receipt of data

What is TCP?

Connection-oriented protocol with three-way handshake.

What is UDP?

Connectionless protocol for transmitting data.

What is UDP?

Connectionless protocol with fire and forget method.

Give an example of a protocol that uses UDP.

DHCP is an example of a protocol that uses UDP.

What is a connectionless protocol?

Does not require a handshake or acknowledgment

What is DHCP?

Dynamic Host Control Protocol


Kaugnay na mga set ng pag-aaral

AICE Environmental Management: Paper 1 Ultimate Review

View Set

President's Formal & Informal Powers

View Set

Macroeconomics - Monetary Policy Lecture

View Set

Chapter 3 Early Dakota Study Guide

View Set

Video 16: Atmospheric Circulation

View Set

Roll of Thunder, Hear My Cry: Comprehension CHAPTER 2

View Set