Question: In relation to the following Daytime server code (see Figure 1): (i) Identify the three code modifications (note: for this question variable declarations do not
In relation to the following Daytime server code (see Figure 1): (i) Identify the three code modifications (note: for this question variable declarations do not count as a modification) necessary to facilitate retrieval of the IP address and port number associated with the connected client application. In your answer: identify the code modification and the line number where the modification should be made. (12 marks) (ii) Identify the type of the new variable that would be required to hold the addressing data. (3 marks) (iii) Identify the function (ignore agruments) that would be required to ensure that the client addressing information is in the correct byte order prior to it being used in the server application e.g. for printing to the local screen, for storing in a log file ete
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
