type
status
date
slug
summary
tags
category
icon
password
This checkpoint is about testing your TCP implementation in the real world and measuring the long-term statistics of a particular Internet path.
If your TCP implementation is written properly, you may not have to write any code for this checkpoint. But despite our efforts, it is possible for bugs to escape our unit tests. If you find issues, you will probably want to debug with wireshark and fix any bugs.

Using your TCP implementation in the real world

没什么需要改动的,但是因为之前我的webget没有写把socket合适地关闭的语句,导致出现了这个Warning: unclean shutdown of TCPMinnowSocket
notion image
后来在lab4要求引入的头文件里面发现了这个函数
所以说当socket接收到文件的eof之后,就用这个语句把socket关闭
然后就一切正常了:
notion image
 
CS144—Lab5ECS云服务器
  • Giscus