CS635 01 Summer II                          Assignment 2: Network Datalink Protocol Simulation
Due 08/02/2017

1. Read the cnet manual and run the stopandwait example application of the network datalink simulation system at playground

1) Download NX-client for window from http://hilltop.bradley.edu/~jiangbo/courses/nxclient-3.5.0-9.exe

2) Set up NX-client on your PC

    Session name: playground

    Host: playground.bradley.edu

3) Copy the /usr/local/share/cnet/examples/stopandwait at playground to your directory cs635

    cp -r /usr/local/share/cnet/examples/stopandwait cs635

4) Run the cnet stopandwait example

    cd cs635

    /usr/local/bin/cnet –s STOPANDWAIT

   

More documents can be found on the cnet web site: http://www.csse.uwa.edu.au/cnet/

Write a Microsoft report to describe the cnet and run results. You need to make the screen shots for your report with runs with two different sets of node attributes
(message rate, min/max message size) and link attributes (propagation delay, prob(frame corruption), prob(frame loss)) and compare the results in a table in your report.

 

2. Modify the stopandwait.c program to a gobackn.c datalink protocol program using go-back n with only positive acknowledgments.

 

(Extra credit) Run the gobackn.c application program in the cnet.

 

Assignment Hand-in Policies:
- Write a Microsoft report to describe the gobackn.c application program structure and operations and the run results if you did extra credits with the full screen shots (include the time stamps).

- Submit your report and gobackn program on the Sakai class web site Drop Box on the due day.