V22.0480-002 Special Topics: Networks
Homework 6:     Create a networking application using the TLI interface
                to implement a "remote file info" service over a
                connectionless transport provider.
 
In this assignment, you must use the following protocol:
 
        The client sends the name of a file to the server.  It can only
send one name at a time.
 
        The server returns the user ID of the owner of the file, the
group ID of the owner of the file, and the size of the file in bytes.
 
The client application takes a transport provider name, a server name
and several file names as command line arguments. For example, you
can invoke the client as follows:
 
        $ remls udp courses3 file1 file2 file3
        mpadovan group1      382 Apr 17 10:12 file1
        root     bin         472 Jan 24 16:33 file2
        mpadovan group1     1123 Apr 12 10:20 file3
 
        $ remls ticlts courses3 file1 file2 file3
        mpadovan group1      382 Apr 17 10:12 file1
        root     bin         472 Jan 24 16:33 file2
        mpadovan group1     1123 Apr 12 10:20 file3
 
The server process should take the transport provider as an argument,
and you should start one server process for each connectionless transport
provider. For example:
 
        $ remlssrv udp &
        $ remlssrv ticlts &
 
Be sure to handle error conditions correctly!
 
The name of your service must be your last name followed by your first
initial.  Because there were a few conflicts, please issue the following
command to see what your port number is:  "grep name /etc/services",
where "name" is your last name.
 
What you must turn in:
 
1. A short description of your application-layer protocol.
2. A short description of your session layer-protocol.
3. A short description of your presentation-layer protocol.
4. The C code that implements the client-side of the application.
5. The C code that implements the server-side of the application.
 
Due date: Monday, April 24