Skip to content

Bozu1206/HomaAeolusSimulation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HomaAeolus

13 oct : still trying to create a simple situation with 2 or 3 hosts


Three logs for three situation :

  • 2hostNoGrant.txt is a simple situation where one host send a relatively small message (~1000 bytes).
  • 2hostGrant.txt is a simple situation where one host send a message (~15000 bytes), in this configuration we can see the receiver host sending GRANT packets.
  • 2host+randompacketdrop.txt is a simple situation where the TOR randomly drops a packet (random = $\text{Unif}_{[0, 1)}$), in this case the sender does not receive GRANT packet anymore and thus stop sending packet.

18 oct : implement the retransmisson mechanism in case of packet drops

How to implement retransmission ?

Using timers : one at sender side and one at receiver side.

Sender side :

  • When the app gives a message to the transport, bind a timer (a self message) to this message. If we receive back a GRANT delete the timer, else resend the message.

Receiver side :

  • Bind a timer to messages, in case of timeout prepare and send a RESEND packet to sender, else the timer will be canceled.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 55.8%
  • C 17.1%
  • Tcl 8.0%
  • HTML 6.8%
  • Roff 2.7%
  • TeX 1.5%
  • Other 8.1%