Homework 1 [10 pts]

Due: February 1, 2001

Analyze the source code for the multiplexor server, as presented during the class lecture. The code is available on gemini in my home directory (the path is cs8060/net/netsrv).

Write a report in which you will detail the organization and inner-workings of the program. The report should include a discussion and description of:

  1. the architecture,
  2. existing threads of control,
  3. interfacing with the backend program (the legacy application),
  4. handling of client connections,
  5. handling of signals.

You should also present a sequence of events within the system, from the startup time, accepting two client connections, servicing the connection, and then closing the connection, and eventually shutting down the system.

Late submissions WILL NOT be accepted.