in Computer Networks edited by
15,873 views
40 votes
40 votes

Which of the following statements are TRUE?

  • S1:  TCP handles both congestion and flow control
  • S2:  UDP handles congestion but not flow control
  • S3:  Fast retransmit deals with congestion but not flow control
  • S4:  Slow start mechanism deals with both congestion and flow control
  1. $S1$, $S2$ and $S3$ only
  2. $S1$ and $S3$only
  3. $S3$and $S4$ only
  4. $S1$, $S3$ and $S4$ only
in Computer Networks edited by
15.9k views

4 Comments

What is fast retransmit?

If possible please give some easy to understand resources to learn  about it.

Thanks.
0
0

@luc_Bloodstone Fast retransmission is a congestion control algorithm that makes it possible for sender to quickly retransmit lost packets. Without fast retransmission, sender can retransmit only after timeout timer has expired. With fast transmission, reciever can send negative acknowledgements for the packets that it does not receive properly. If sender receives three negative acknowledgements for a packet, it will retransmit it without waiting for timeout timer.

 

10
10
Since TCP uses cumulative acknowledgements and in the case where one packet is lost and 3 packets following it are successfully received and acknowledged by the receiver. Then in the acknowledgments missing packet sequence number is send. So we can say that there is 3 duplicate acknowledgments.

Sender on receiving 3 duplicate acknowledgment can retransmit packet without waiting for timeout timer, hence this technique known as fast retransmit.
1
1

2 Answers

84 votes
84 votes
Best answer

(S1)  TCP handles both congestion and flow control $\Rightarrow$ True.
 It uses congestion window for congestion control & Advertisement window for flow control
(S2)  UDP handles congestion but not flow control $\Rightarrow$ UDP does not handle
congestion but also not handle flow control.
(S3)  Fast retransmit deals with congestion but not flow control$\Rightarrow$ Yes.
Fast Retransmit is technique for detecting out of Order Datagram & Sending it.
It is congestion control technique and has no relation with Flow control
(S4)  Slow start mechanism deals with both congestion and flow control $\Rightarrow$ False.
It has nothing to do with Flow control. Flow control is taken care by Advertisement window.
Slow start is way Sender tries to gauge network capacity !
Answer (B) S1 and S3 only.

edited by

4 Comments

D option is wrong
0
0
Slow start phase too consider receiver's window size then how it cannot support flow control?
2
2
But slow start phase does consider receiver window size which helps in maintaining the flow control.
0
0
17 votes
17 votes

Tcp handles both Congestion Control and Flow Control. For Flow Control it uses Sliding Window Protocol Algorithms and for Congestion Control it uses four congestion control algorithms: slow start, congestion avoidance, fast re-transmit, and fast recovery.

So Option (B)

4 Comments

Can you explain what is fast recovery?

@Danish
0
0

For Flow Control it uses  Sliding Window Protocol  Algorithms 

I have read that n/w layer implements flow control by Sliding Window Protocol. But TCP is a transport layer protocol. ?

0
0

@amitqy 

Forouzan's page 729

 

2
2
Answer:

Related questions