Session 1 : ----------- Server and Client on the same machines. Server : on ernie.eecs.uic.edu at port number 13,260 Client : on ernie.eecs.uic.edu at port number 13,260 First, log in to ernie.eecs.uic.edu to the directories where the server and client executables are present. Step 1 : Running the server on ernie.eecs.uic.edu $ rpiped -m 4 -p 13260 Creates a server process that accepts at the most 4 client connections at any instant, and listens at port 13260. Step 2 : Running a client on ernie $ rpipe -p 13260 ls First, at the prompt type out the rpipr -p command as specified. stands for the Carriage-return key. Then type another followed by CONTROL-D. Output at client's side : The output received, was a listing of the files available on the server's directory on ernie. Step 3 : Running another client on ernie $ rpipe -p 13260 wc Hello World Hi Output at client's side : The output received was 3 3 15 which is the number of lines, words and charcters in the input data. Compare this output with that of executing wc locally with the same input lines. Session 2 : ----------- To run the server on a remote machine , you need to log in to that machine. In this case, I've chosen vail.eecs.uic.edu to be the remote machine. You should choose some machine where you have an account, ex. icarus.cc.uic.edu Server : On vail.eecs.uic.edu, at port number 15595 Client : On ernie.eecs.uic.edu Step 1 : Running the server on vail $ rpiped -m 5 -p 15595 Creates a server process that accepts at the most 5 client connections at any instant, and listens at port 15595. Step 2 : Running the client on ernie and connectin it to the server $ rpipe -h vail.eecs.uic.edu -p 15595 ls This creates a client process on ernie, that connects to the server on vail, at port number 15595 and issues the server the "ls" command. Step 3 : Running another client. $ rpipe -h vail.eecs.uic.edu -p 15595 wc Hello World Hi The outputs produced were similar to that of session 1.