⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 netstat.txt

📁 卡耐基梅陇大学ssd8Exercise2答案
💻 TXT
字号:
1 How many TCP connections did your program execute, and does the number match the TCP counters? 

        My program execute 1 TCP connection and the number matches the TCP
        counters.


2 What is the average size of the packets you sent and received? Can you explain the difference?

        The average size of the sent packets is 18/7 bytes.
        The average size of the received packets is 3341/8 bytes.
        As we see, the size of the sent packets is  smaller than received packets.
        The reason is that:what we sent is just a command "GET / HTTP/1.0", but what
        we received is the whole page of "www.baidu.com".
3 How does the number of TCP connections compare with the number of pages read and with the sum of the number of pages and number of figures read?

	The number of TCP connections is  better than the number of pages read, 
        but it equals the sum of the number of pages and number of figures read.

4 Do you think you are using an older or more recent version of HTTP? Explain. 

	I think I'm using a more recent version of HTTP.
        When I open the website(.eg. www.baidu.com) At first, there one TCP connection
        is TIME_WAIT state. And after being flashed, one more TCP connection which 
        state is TIME_WAIT added.
        HTTP tries to maintain the TCP connection across multiple GET requests.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -