资 源 简 介
In this project, you are asked to design and implement a distributed facility booking system based on client-server architecture. The server stores the information of all facilities (e.g., meeting rooms, lecture theatres) including the name of each facility (a variable-length string), the availability of the facility over seven days of a week (the time is to be represented in the form of day/hour/minute, where day is of enumerated type with possible values from Monday to Sunday, and hour and minute are integers), and the bookings made by users. Each facility requires exclusive use. The server program implements a set of services on the facilities for remote access by clients. Meanwhile, the client program provides an interface for users to invoke these services. On receiving a request input from the user, the client sends the request to the server. The server performs the requested service and returns the result to the client. The client-server communication is carried out using UDP