Tuesday, April 18, 2017

LAB 5:RDT

1. Introduction
   The Object of this lab was to demonstrate and understand the ins and outs of using Go-Back-N and Stop and Wait. We were supposed to document and test the code given by Professor Rosiene.

2. Discussion of Solution
   The main problem with this program was getting it to run initially. It took me a minute to realize that I needed to put all of the files into one folder then run the receiver and sender to get it to run. When I initially tried to run it I had them in different files. Putting all of the py files in the same folder fixes this problem

3.Testing Plan:
There was not much testing since we were just supposed to document and test the program that was already fully written. I tried running the files initially as they were but did not realize that they were in different folders. After looking at the files and not just the code, I saw the files were in different folders and then put them all into one folder.

4.Testing Documentation:
RDT: Go-Back-N: www.youtube.com/watch?v=F856B2b3kOg
RDT: Stop-and-Wait: www.youtube.com/watch?v=ZSTjBWzlg3s

5.Commented Listing:
The only coding I had to do for this project was to change RDT_Type between Stop and Wait and Go-Back-N. This told RDT file which sender and receiver thread to run.


6. For this project, I used modern blogger to submit the project,  and I used YouTube for my testing documentation. 


No comments:

Post a Comment