J. Blustein

Network Computing

[Crs | Ann | Mats | Res]

Kurose & Ross's Network Simulation Code

[Assignment | Documentation | Source Code ]

Assignment: [instructions |Alternating Bit Protocol | Go-Back-N | submission | FAQ ]

Simulating a Go-Back-N Socket


Not for Summer 2003!

Current students should not do this part of the assignment.

Do only the Alternating Bit Protocol part.


You are to write the clientOutput(), clientInput(), clientTimerInterrupt(), clientInit(), serverInput(), serverInit(), clientEnd(), and serverEnd() functions which together will implement a Go-Back-N unidirectional transfer of data from the client-side (A) to the server-side (B) with a window size of eight.

Your protocol should use both ACK and NAK messages.

You must write your routines in the GBN/client.c and GBN/server.c files.

Kurose and Ross strongly recommend that you first implement the easier (Alternating Bit) protocol and then extending your code to implement this more difficult protocol. Believe them — it will not be time wasted! However, some new considerations for your Go-Back-N code (which do not apply to the Alternating Bit protocol) are:

Advice


http://web.cs.dal.ca/~jamie/course/CS/3171/Materials/KR_1e/Code/Chapter3/assig/GBN.shtml
Version:
Sunday, 27-Jul-2003 13:41:17 ADT
CS 3171 Prof.:
J. Blustein <jamie@cs.dal.ca>

This webpage uses valid XHTML 1.0

Based on
document at <URL:about:http://occawlonline.pearsoned.com/bookbind/pubbooks/kurose-ross1/chapter4/custom12/deluxe-content.html> (copied on 05 July 2002). That document is © 2000-2001 by Addison Wesley Longman A division of Pearson Education