CS360 Final Exam. Grading for Question 2
8 points
December 13, 1997
The grading for this one was that if you had the general structure
right, you started with 8 points, and were deducted for errors.
The most common ones were:
- Not closing fd at the end of the while loop. This means that you'll
run out of file descriptors in your server after a while. Most of
you also didn't close fd or sock in the child/grandchild. This is
a less serious error, and I didn't take off for it.
- Calling wait() in the child instead of the parent -- this means
you'll still have zombies.
- Not forking off a grandchild. This usually results in your server
being iterative.
Histogram of scores