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
后来在lab4要求引入的头文件里面发现了这个函数
所以说当socket接收到文件的eof之后,就用这个语句把socket关闭
然后就一切正常了:
- Author:orangec
- URL:orange’s blog | welcome to my blog (clovy.top)/article/11d28a67-b94d-45d5-b819-479b0241c03a
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts