TCP socket and Connection-oriented Demux

UndisputableParallelism avatar
UndisputableParallelism
·
·
Download

Start Quiz

Study Flashcards

18 Questions

What is used to identify a TCP socket on a server host?

4-tuple: source IP address, source port number, dest IP address, dest port number

What is the primary reason for flow control in data communication?

To prevent the sender from overwhelming the receiver

What is sent by the receiver to the sender to inform it that it is overwhelmed with data?

ACK packet

What is the delay between transmission and receipt of data known as?

Propagation delay

Why is error control necessary in data communication?

To prevent errors during transmission

What is the mechanism used to correct errors during transmission?

Error control

What is the primary function of the transport layer in a network?

To provide logical communication between processes

What is the purpose of port numbers in connectionless demultiplexing?

To direct the segment to the appropriate socket

What is NOT a service provided by the transport layer protocol?

Delay guarantees

What happens when a host receives IP datagrams with the same destination port number but different source IP addresses and/or source port numbers?

They are directed to the same socket

What type of demultiplexing is used in UDP?

Connectionless demultiplexing

Which of the following is NOT a function of the transport layer?

Routing and switching

What is the main disadvantage of the stop-and-wait flow control?

At any time, only one frame is sent and waiting to be acknowledged.

What is the term for a flow control method that allows multiple frames to be in transit at the same time?

Sliding Window protocol

What is the main characteristic of UDP that makes it unreliable?

Each user datagram is an independent datagram and may be lost or delivered out-of-order.

What is the primary reason for congestion in a network?

The number of packets sent is greater than the capacity of the network

What is the purpose of window size in Sliding Window protocol?

To limit the number of frames that can be sent simultaneously

What is the primary advantage of Sliding Window protocol over Stop-and-Wait protocol?

It improves efficiency by allowing multiple frames to be in transit

This quiz covers the fundamentals of TCP socket identification, connection-oriented demux, and its application in web servers. It also touches on the importance of flow and error control for reliable data communication.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser