看板 Network 關於我們 聯絡資訊
※ 引述《AntiPX (簡單ㄞˋ)》之銘言: : ※ 引述《vickycute (小酷智)》之銘言: : : 想請教各位高手,有相TCP的問題... : : 這是作業,不過我解不太出來,嗚... : : 1. To make the initial sequence number a random number, : : most systems start the counter at 1 during bootstrap and increment the : : counter by 64,000 every half second. : : How long does it take for the counter to wrap around? : sequence number is 32-bit long, so the duration would be: : (2^32 / 64,000) * 0.5 ~= 33,554 sec : : 2. In a connection, the value of cwnd is 3000 and the value of rwnd is 5000. : : The host has sent 2000 bytes which have not been acknowledged. : : How many more bytes can be sent? : the total data allowed to be sent is min(cwnd, rwnd), so : min(3000, 5000) - 2000 = 1000 bytes : more data can be sent. : : 拜託,謝謝^^ 真是謝謝你詳細的解答^^ 感謝,再感謝^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.165.178.228