Question: Modify the BankServer program so that it can be terminated more elegantly. Provide another socket on port 8889 through which an administrator can log in.
Modify the BankServer program so that it can be terminated more elegantly. Provide another socket on port 8889 through which an administrator can log in. Support the commands LOGIN password, STATUS, PASSWORD newPassword, LOGOUT, and SHUTDOWN. The STATUS command should display the total number of clients that have logged in since the server started.
Step by Step Solution
3.47 Rating (157 Votes )
There are 3 Steps involved in it
In order to fulfill this request well have to modify the BankServer program as follows 1 Create an AdministratorServer which listens on port 8889 This ... View full answer
Get step-by-step solutions from verified subject matter experts
