3.2-transport-tcp

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which field in the TCP segment structure is used for congestion notification?

  • ACK
  • E (correct)
  • C
  • R

Which field in the TCP segment structure is used for connection management?

  • RST (correct)
  • C
  • E
  • ACK

Which field in the TCP segment structure is used for flow control?

  • R
  • E
  • C
  • ACK (correct)

Which state does the client transition to after calling clientSocket.close() in the TCP connection?

<p>FIN_WAIT_1 (C)</p> Signup and view all the answers

What is the value of ssthresh after dupACKcount reaches 3?

<p>cwnd/2 (A)</p> Signup and view all the answers

What is the purpose of the TIMED_WAIT state in the TCP connection?

<p>To allow the client to still send data (B)</p> Signup and view all the answers

What is the value of cwnd after retransmitting a missing segment and receiving a duplicate ACK?

<p>ssthresh + 3 (A)</p> Signup and view all the answers

Which of the following is true about TCP congestion control?

<p>TCP uses additive increase and multiplicative decrease to adjust sending rate (C)</p> Signup and view all the answers

During TCP slow start, the congestion window (cwnd) is initially set to _______?

<p>1 (C)</p> Signup and view all the answers

What is the purpose of the ssthresh variable in TCP congestion control?

<p>To switch from exponential increase to linear increase in cwnd (A)</p> Signup and view all the answers

What is the purpose of the dupACKcount variable in TCP congestion control?

<p>The <code>dupACKcount</code> variable is used to track the number of duplicate ACKs received by the sender in TCP congestion control.</p> Signup and view all the answers

What is the formula to calculate the new value of cwnd after receiving a duplicate ACK?

<p><code>cwnd = cwnd + MSS</code></p> Signup and view all the answers

What is the purpose of the ssthresh variable in TCP congestion control?

<p>The <code>ssthresh</code> variable is used to store the value of the congestion window (<code>cwnd</code>) at the time congestion is detected and reduced.</p> Signup and view all the answers

What is the formula to calculate the new value of ssthresh after dupACKcount reaches 3?

<p><code>ssthresh = cwnd/2</code></p> Signup and view all the answers

What are the possible states for a TCP connection in the Transport Layer?

<p>The possible states for a TCP connection in the Transport Layer are: ESTAB (established), FIN_WAIT_1, FIN_WAIT_2, CLOSE_WAIT, TIMED_WAIT, LAST_ACK, and CLOSED.</p> Signup and view all the answers

Flashcards are hidden until you start studying

Related Documents

3.2-transport-tcp.pdf

More Like This

Use Quizgecko on...
Browser
Browser