Douglas E. Comer
Computer Science Department
Purdue University
West Lafayette, IN 47907
webmaster: W. David Laverell
Companion
Topics
Home
Book
Information
Purpose
of Site
Getting
Started
Students
Faculty
"What's
New"
"Coming
Attractions"
"C Pointers"
Acknowledgements
|
|
HON: Faculty Notes to Chapter 8
Home > Faculty > Chapter Notes > Chapter 8
Chapter 8
This chapter is challenging, exciting, and, ocassionally,
maddening. In addition to the difficulty of the individual
pieces, students have the challenge of putting them together.
They should think in terms of the ultimate goal which is
data transfer so they need three programs:
- A gateway program.
- A server program.
- A client program.
This chapter is very difficult.
I have found that at an undergraduate institution
students simply do not have the time to complete this
whole project. In the Fall of 2003 I gave the executables
for a working gateway and client and asked the students to
write the server. This worked out rather well. One student,
Andy Schamp, wrote a gui gateway for an honors
project. This gateway provides the ability to change paramters
such as percentage of packets dropped to be changed dynamically
which is a critical requirement for some of the Optional Extensions.
It will be part of the second set of solutions. Unfortunately, Andy
used Motif which will certainly limit portability.
Experiment 8.4 presents special difficulties.
You have to take into account all the vagaries of
datagram transmission, packets lost, corrupted,
delivered out of order, etc. The use of a timer
complicates debugging (UNDERSTATEMENT).
The coordination of three programs is an ongoing
headache. In spite of all this, this is an
extremely rewarding project.
This site is maintained by W. David Laverell
of the Computer Science Department
at Calvin College. For assistance or corrections,
please contact him at . |
|