2025 HW03

28 views
Skip to first unread message

Prof. Hsiao

unread,
Nov 26, 2025, 9:25:30 PMNov 26
to NCCU Networking@MIS
Q7. In TCP, if (an) ack acknowledges an unacked segment, the sender must restart a timer.

當 TCP 發送端收到一個 ACK,且該 ACK 確認了之前尚未被確認的資料(Acknowledgment of new data)時,TCP 的行為如下:

  1. 如果視窗中還有已發送但未被確認(unacknowledged)的封包,發送端必須重新設定 Timer,以便為剩餘的封包重新計時。

  2. 如果所有發送出的封包都已被確認,則停止計時器。

但這題因為題意有點問題,因此不計分數。
因為 restart 可能有意味著 “重啟同一個” 的意思,
若題目是 “start a new timer” 或是 "reset an old timer" 可能會比較清楚。


Q8. The sender’s view of ‘Selective Repeat’ is always not the same as the receiver’s view.

通常不同! 在資料正在「傳輸中」的動態過程中,由於網路延遲(Propagation Delay),接收端收到封包並滑動視窗(Window)後,ACK 需要時間才能傳回發送端。在這段 ACK 傳輸的時間內,接收端的視窗已經前進,但發送端的視窗還沒動,因此兩者的「視野(View)」或視窗範圍確實是不同的(不同步)。

但這題因為題目出錯,因此不計分數。
老師原本的題目應為 “The sender’s view of ‘Selective Repeat’ is not always the same as the receiver’s view.” 此原本題目的答案是 True.

Reply all
Reply to author
Forward
0 new messages