Programming Assignment 3 -- Computer Networks
Computer Networks
Spring, 2001
due: May 11 (5 pm)
The objective of this assignment is to implement a concurrent TCP server and client. You may use any of the techniques described in class (multiple processes, multiple threads, or a single process using select).
The service you implement should be session-oriented, where the connection between client and server may remain open for an extended period of time (as in ftp, telnet, or your rfq service).
A minimal example would be a concurrent version of your rfq server or my echo server. For additional credit, you may implement a more complex service. One example would be a real-time on-line auction service. A group of clients can bid on items advertised for sale by the server. The server accepts bids up to a certain time limit, or until an interval passes in which no new bids are received. When the auction is completed, the server announces the winner. Another concurrent service would be a multiplayer game.
An alternative way to earn additional credit would be to implement more
than one version of the server, using different techniques to handle the
concurrent clients.