I need to write a client-server system from crushed.
The requirement is as follows:
- There would be multiple servers and several client applications.
- Clients can access any server.
- The r / w -able files are kept in the server application.
- A client can request the server to r / w files with locks so that other clients can not write during read / write.
I know that there are many examples of applications available on the Internet. But, they talk about a server and several clients.
I need multiple servers and multiple clients.
So what should I do?