3.2-transport-tcp
15 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

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</p> Signup and view all the answers

    What is the value of ssthresh after dupACKcount reaches 3?

    <p>cwnd/2</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</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</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</p> Signup and view all the answers

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

    <p>1</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</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

    More Like This

    Use Quizgecko on...
    Browser
    Browser