Assignment #4
Due Monday November 23, 1998
This assignment, again, is a GoPizza!
However, it is to be implemented as a cleint/server instead of just
one program.
There is one server (called GoPizza Server) that servers a set
of clients (each is called a GoPizzaClient).
There is no limit on the number of clients (other than the natural
computer/network resource limits).
Here are a functional description of both the client and server parts
of this assignment.
NAME
GoPizza Server : Group-order Pizza Server
SYNOPSIS
GoPizza Server
DESCRIPTION
The Server announce the host and port number where it is running,
then wait to accept connections from GoPizzaClient (s). The first connection
from a client is identified by the server as the initiator.
Like Assignment #3, whenever the initiator decides to end
the selection process,
the gathered information are tabulated and displayed to all
current participants.
NAME
GoPizzaClient: Group-order Pizza Client
SYNOPSIS
GoPizzaClient <host> <port>
DESCRIPTION
The <host> and <port> are the IP name (or address) and the
port number where the GoPizza Server is running.
As the soon as the TCP connection is established with the server, the
client displays the "user interface"
The interface is the same as the one you have used for Assignment #3
(you may improve it or leave as it is).
There is no distinction between the initiator and any other participant's
processes, i.e., the client process
does NOT know whether it is an initiator or a participant. In addition,
the clients should be stateless, i.e, the cumulative
current selection data from all participants should be kept at the
server.
Back
to Assignments Page
Back to CS476/576
Home Page