GithubHelp home page GithubHelp logo

bozu1206 / homaaeolussimulation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from platformlab/homasimulation

0.0 0.0 0.0 373.95 MB

Shell 1.10% C++ 64.37% Python 1.19% Perl 0.75% C 19.76% Emacs Lisp 0.04% Lua 0.01% Tcl 9.27% R 0.62% C# 0.07% Assembly 0.17% Ada 0.11% MATLAB 0.02% Awk 0.02% CLIPS 0.01% XSLT 0.32% CSS 0.37% Pascal 0.07% TeX 1.68% xBase 0.07%

homaaeolussimulation's Introduction

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.

homaaeolussimulation's People

Contributors

behnamm avatar bozu1206 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.