Skip to content
adtimokhinPublic

About

Implementation of TCP protocol

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

chiTCP - A simple, testable TCP stack

The chiTCP documentation is available at http://chi.cs.uchicago.edu/chitcp/

Notes:

  • In our code for the unreliable data transfer tests, we pass more tests if you run the testing on a log level LOG=DEBUG. We, on average, pass 45/47 of the given tests. This is our result of our make grade after making with LOG=DEBUG on SSH:

Assignment 2

Category Passed / Total Score / Points

Timer API 17 / 19 17.89 / 20.00
Retransmissions - 3-way handshake 3 / 3 10.00 / 10.00
Retransmissions - Connection tear-down 2 / 2 10.00 / 10.00
Retransmissions - Data transfer 11 / 13 25.38 / 30.00
Persist timer 6 / 6 10.00 / 10.00
Out-of-order delivery 4 / 4 20.00 / 20.00

                                                  TOTAL = 93.28  / 100       

==============================================================================

  • In rare cases, our multitmier will randomly fail 1-3 tests, but after speaking with the TA Anjali, this is apparently a wifi issue that occurs for people sometimes.

  • Instead of putting all packet send logic in its own function, we found it worked better with our code to do the checks for packet logic inside of the packet handler function and then do mild repetition of calling send packet and adding to RTS. I spoke with Borja and he said that this structure was fine although a bit verbose with regards to some code repetition in the packet handler helper.

About

Implementation of TCP protocol

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages