Chapter 6 Student Notes

Chapter 6 introduces to the details of socket programming. In Experiment 6.1 you are asked to obtain sample code from Purdue University.

In Experiment 6.2 you rewrite the version of echo software provided in Chapte 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 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.