Question: DATA COMMUNICATION LAB - C++ LANG (UDP/IP CLIENT SERVER APPLICATIONS) PART A - [1.5 marks] Update the client's source code in order for the client
DATA COMMUNICATION LAB - C++ LANG (UDP/IP CLIENT SERVER APPLICATIONS)

PART A - [1.5 marks] Update the client's source code in order for the client to be able to keep transmitting messages to the server (and receiving feedback messages) until the client sends a message containing only: "[q]". (i.e., the sequence of characters [, 9, and ]). PART B - [1.5 marks] Update the server's source code in order for server to be able to keep receiving messages from the clients, as well as sending replies, with the message "Thanks for your message!", after each received message, until a client sends a message containing only: "[q). PART C - [2.0 marks] Update the both the client's source code, as well as the server's source code from parts A and B, so that when a client sends a message [g], the client quits and the server sends a message containing the string "Goodbye", while remaining ready to receive messages from other clients. Moreover, if the client sends a message [x], both the client as well as the server quit. In this scenario, the server sends a "Goodbye" message to the client, and prints in its own terminal the message "Terminated based on client's request". PART A - [1.5 marks] Update the client's source code in order for the client to be able to keep transmitting messages to the server (and receiving feedback messages) until the client sends a message containing only: "[q]". (i.e., the sequence of characters [, 9, and ]). PART B - [1.5 marks] Update the server's source code in order for server to be able to keep receiving messages from the clients, as well as sending replies, with the message "Thanks for your message!", after each received message, until a client sends a message containing only: "[q). PART C - [2.0 marks] Update the both the client's source code, as well as the server's source code from parts A and B, so that when a client sends a message [g], the client quits and the server sends a message containing the string "Goodbye", while remaining ready to receive messages from other clients. Moreover, if the client sends a message [x], both the client as well as the server quit. In this scenario, the server sends a "Goodbye" message to the client, and prints in its own terminal the message "Terminated based on client's request
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
