
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Take the file system that you wrote for project 5 and make it a networked file system. You will have to write two separate programs, a client and a server, that can run on different machines.
The client will establish a connection to the server, and then read in a file of commands. For each command, it will send a string to the server. If appropriate, it will read information back from the server and display it on the terminal (for the read and list operations for example).
The server will run all of the file system operations, (read, write, mkdir etc). It will accept requests from the client, process them, and send a reply back to the client. The server does not need to fork or create a new thread.
The server will take one argument, the port on which it will listen for connections. The client will take three arguments, the name of the machine on which the server is running, the port number of the server process, and the name of the input file.
As always, your program should do routine error handling.
The project is due at 11:59 on Tuesday, December 2.