Chapter 6 Faculty Notes

Chapter 6 introduces the student to the details of socket programming. In Experiment 6.1 they are asked to obtain sample code from Purdue University. As in Chapter 5 you may wish to do this for them and provide a local copy.

In Experiment 6.2 students rewrite the version of echo software provided in Chapter 5 to eliminate the simplified API. I found it much easier to modify client.c and server.c provided in this chapter. I also chose (or was it just a dumb mistake) to implement chat rather than echo. That was felicitous since it gave me the opportunity to modify it to satisfy the specifications of the second Optional Extension in Experiment 5.2.



This site is maintained by by W. David Laverell of the Computer Science Department at Calvin College.
For assistance or corrections, please contact him at lave@calvin.edu.