|
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
andserver.c
provided in this chapter. I also chose (or was it just a dumb mistake) to implementchat
rather thanecho
. 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.