Experiment 7.1

Note that the suggestion on page 39 that you start with a chat server is just slightly misleading. For Experiment 7.3 you will need an echo server and a file server. It is the latter that comes to the fore in this experiment.

The directions in the first exercises lead you right down the path to success. The second exercise on page 40 is absolutely critical, and its successful completion brings great satisfaction.

If you have had an opeating systems course, you are well prepared for this experiment. If not, you are going to need to find a good sample program that uses threads. The exercises make it clear just where to put your threads code.

Important note: it is essential that you indicate the threads library when you link your program. Usually, when you forget a library, you know it right away. (Try linking a socket program without the -lsocket!) In this case, however, there is not even a warning message, the program fails on the thread create.

Important note: for testing you will need a file client. Use the one you wrote for Experiment 5.3.


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.