SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

Computer Networking : A Top-Down Approach

Computer Networking : A Top-down Approach

Authors:
James F. Kurose, Keith W. Ross
Exercise:
Problems
Chapter:
Transport Layer
Edition:
6
ISBN:
9780132856201
Question:
25

 

Question

We have said that an application may choose UDP for a transport protocol because UDP offers finer application control (than TCP) of what data is sent in a segment and when.

a. Why does an application have more control of what data is sent in a segment?

b. Why does an application have more control on when the segment is sent?

Answer

a)

In TCP protocols:

  • If the send the segment application then data is not assigned directly.
  • Then data store in buffer then decide to connect the segement.
  • So,the application does not have more control to sent data in  the TCP protocol.

For UDP protocols:

  • If the send the segment application then data is assigned directly
  • Then the data in the segment is then sent.
  • So, the application has more control to sent data in the UDP protocol.

b)

  • In TCP protocol cannot expect the time between sent data and arrived data. So, an application does not have more control on when the segment is sent in TCP.
  • n TCP protocol can expect the time between sent data and arrived data. So, an application have more control on when the segment is sent in TCP.
0 0

Discussions

Post the discussion to improve the above solution.