Docsity

Programming Assignment 6 - Operating Systems | CSCI 4210, Assignments of Operating Systems

Toggle sidebar
bg1
CSCI.4210 Operating Systems
Fall, 2008
Programming Assignment 6
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.
1

Partial preview of the text

Download Programming Assignment 6 - Operating Systems | CSCI 4210 and more Assignments Operating Systems in PDF only on Docsity!

CSCI.4210 Operating Systems

Fall, 2008

Programming Assignment 6

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.