CS 580 Client-Server Programming

Spring Semester, 2007

Assignment 4

Assignment Index

© 2007, All Rights Reserved, SDSU & Roger Whitney

 San Diego State University -- This page last updated 4/13/07

Assignment 4

Due April 24

Voting Server

Implement a server that supports the command LOGIN, POLL-STATUS, REGISTER, VOTE and VOTE-STATUS in version 1.0 of the Voting Server Protocol. The vote data should be stored in a database. Information like, but not limited to, database username, database password, data location, server port and log file should be set in a configuration file and changeable via the command line when starting the server. Connections to the server and any exceptions need to be logged. The server needs handle more than one connection at a time. Provide unit tests for your server.