Download NetSim Help - Index

Transcript
Transmission Flow Control - Go Back N
Programming Guidelines
This section guides the user to link his/her own code for Go Back N to NetSim.
Pre - Conditions
The user program should read the inputted scenario from text file named „Input‟ with extension
txt.
The user program after executing the concept should write the required output to a file named
„Output‟ with extension txt.
Note:The temporary directory is navigated through the following step.
Run Type "%temp%"  NetSim  "Input.txt" and "Output.txt"
General Program Flow
The program begins with the Reading of the Inputs from the input file Input.txt.
Executing the required concept and,
The results of the program should be written into the output file Output.txt.
Window Size:
The Window Size for Go Back N is 7
Input File Format
Output File Format
Algorithm=Go_Back_N
Value1>Value2>Value3>Value4>
Data_File=C:\Users\P.Sathishkumar\
Types:
Documents\1 Th.txt>
There are five types of formats of writing in
BER=0
the output file.
Each format is written in specific condition,
the types are explained below.
The condition of writing the types is
explained in the algorithm.
Type1:
318