#Implementing TCP with 3-way-handshake and stuffs

1 messages · Page 1 of 1 (latest)

toxic vector
#

The school project require us to do 4 things:

  1. implement the TCP 3-way-handshakes (also Initialize sequence numbers randomly and synchronize them during the handshake)
  2. Implement an adaptive RTO by estimating the RTT using either the Jacobson/Karels or Karn/Partridge algorithms
  3. Transmit multiple packets before an ACK by using a fixed window size
  4. Perform connection teardown

I am already stuck at the first task and my code wouldn't respond to my ACK-SYN signal. Any suggestions would help. Thanks!

My code is attached below:
https://pastecode.io/s/uoyb9s79

civic marshBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.