Component 3
Component 3
The network code developed in the practical sessions took a non object
oriented approach, with most of the statements placed within the main
function. This task requires that you refactor this code into three classes
(see class diagram below). The comms class containing the code that is
common to both the client and server.
Note: The diagram doesnt show the data members or member functions
which you must implement.
Component 3
The classes and application should include exception handling code, that
replaces much of the original error handling statements found within the
practical exercises.
Pre-processor directives should be embedded within your project to enable /
disable compilation of client and server code. This should allow you to
develop a single project that contains both the Client and Server code.
Your submission should include two projects, one configured to be a server
and another client.