11-04-2014, 02:29 PM
SLIDING WINDOW PROTOCOL
AIM:
To write a program to implement the concept of sliding window protocol.
ALGORITHM:
STEP 1:.Start the program
STEP 2: Get the input data from the user and it send by the methods
of Selective Repeat and Go-back-N Methods.
STEP 3: In Selective Repeat method after sending the message, the
positive and the negative acknowledgements are received. In this
method the negative acknowledgements message is only re-
transmitted.
STEP 4: In Go-Back-N method after sending the message, the positive
andThe negative acknowledgements are received. The N-Back message is re-transmitted when the negative acknowledgement received.
STEP 5: If all the acknowledgements are received successfully for both
the methods then the process is terminated, otherwise
process is repeated.
STEP 6: Stop the program.
[b]RESULT:[/b]
Thus the program of sliding window protocol was written,
executed and verified successfully.