Skip to content

pandacase/cs144-computer-networking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important!

📅 This is the 2019 version of stanford cs144 lab.

⭐ The latest offical site : cs144

🔎 My solution is in branch solution.

🍪 Brach main for lab0, and the other is for the rest.

👉 And you can find the image of 2019-version course site here

😙 thanks for kangyu, and thanks for cs144.

Why 2019?

From csdiy I found that most of the reference info is about sponge, which is the 2019 version of this lab.

So it is more easy to solve the envir problem when i choose this version as the project.

And also most of the solution on the internet is about sponge

About solution

solutions are all in apps/ and libsponge/, this repo only includes the TCP implementation part.

Updating:

  • lab0
    • add apps/webget.cc
    • add libsponge/byte_stream.hh
    • add libsponge/byte_stream.cc
  • lab1
    • add libsponge/stream_reassembler.hh
    • add libsponge/stream_reassembler.cc
  • lab2
    • add libsponge/tcp_receiver.hh
    • add libsponge/tcp_receiver.cc
    • update libsponge/stream_reassembler.hh
    • update libsponge/stream_reassembler.cc
    • add libsponge/wrapping_integers.hh
    • add libsponge/wrapping_integers.cc
  • lab3
    • add libsponge/tcp_sender.hh
    • add libsponge/tcp_sender.cc
  • lab4
    • add libsponge/tcp_connection.hh
    • add libsponge/tcp_connection.cc

More details

  • install libpcap-dev from apt if needed.
  • add #include <stdexcept> in /libsponge/util/buffer.hh if needed.
  • add permission for /tests/webget_t.sh if needed
  • i use doxygen to generate comments.
  • for debugging u can view the source code in tests/.

About

stanford cs144 2019

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published