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)/11d28a67b94d45d5b819479b0241c03a
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts