J. Blustein

Network Computing

Assignment 4

Dates

Assigned
21 July
Due
30 July

Date Changes

Purpose

To help students to understand sockets and basics of reliable data transfer. To give students experience with event-driven programming as used in real networks.

Description

Implement and measure the performance of an unidirectional alternating bit protocol (ABP) socket simulation. Use the simulation code from Kurose and Ross and turn in your client.c and server.c files using the submit program on torch.

See the simulation environment documentation website for all of the details.

Notes

Copy the source files into a directory of your own and work on them there.

Complete the ABP assignment by writing the functions in your ABP/client.c and ABP/server.c files. The simulation website includes information about a Go-Back-N simulation too. You do not have to do anything with that simulation. You are only asked to do a unidirectional (one-way) ABP simulation.

Your textbook describes exactly how the ABP client and server work. It is your job to translate those descriptions into properly documented C code in the appropriate functions and measure how well the protocols work.

When you have completed the program, follow the submission instructions to hand it in. Remember that you are only submitting copies of your client.c and server.c files. Those are the only files you need to change. You only need the other files for testing.

I've put answers to some questions about the code online.


http://www.cs.dal.ca/~jamie/course/CS/3171/Materials/Assig/A4.html
Version:
29 July 2003
CS 3171 Prof.:
J. Blustein <jamie@cs.dal.ca>

Valid XHTML 1.0!