CS360 Final Exam. Question 2

8 points

December 13, 1997

Suppose you've written a game program called game. It has a simple ASCII interface, taking input from stdin, and writing output to stdout. You want to write a server on your machine that lets people connect to your machine (games.cs.utk.edu) using telnet and play the game (choose any port number you want). Write a concurrent server that does this. Make sure that there are no zombie processes when people finish.