Skip to content

KamyaPA/P1-packet-loss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P1-packet-loss

A P1 software program from AAU

Does not run on Windows, more stable on Linux and Mac Requires the ncurses libery

Run by giving the program paramiters ./a.out

configfile commands: addr: add a router addr addh: add a host addh conr: connect routers conr conh: connect host to router conh #: comment

Example of a configfile

#adding routers addr R1 1000 2 addr R2 1000 5 conr R1 R2 10 #adding hosts addh H1 10 addh H2 10 conh H1 R1 5 conh H2 R2 8

Output file where the data will be stored it stores in two collumns Tick and packetloss pr. outputrate

Nuber of ticks The total amounts of ticks the program should run

Outputrate How often should the program write data to the outputfile

Delay How long between each tick in milliseconds rounds down to nerest 1000.

About

A P1 software program from AAU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published