Question: Modify the programs given in Lab 8, server_book.cs and client_book.cs, such that a client can enter a student ID like 'U101' and the server returns

Modify the programs given in Lab 8, server_book.cs and client_book.cs, such that a client can enter a student ID like 'U101' and the server returns his/her major 'PHYSICS'. The client will automatically send the returned major back to the server in order to get the major's average GPA using the same XML file. Then, the client displays the major of the input student and the major's average GPA.

Also change the server program such that it allows no more than two clients to be connected at any point of time.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!