CS 3733 Operating Systems Classroom Activity 1 on Networks


  1. Log on to your Linux account.
  2. Run ~srobbins/cr3733 and log your progress on this activity.
  3. Make a directory called ch18.
  4. Download the USP Chapter 18 tar file from here.
  5. Untar the program into your ch08 directory.
  6. Execute convertlinux in this directory.
  7. Execute make in this directory.
  8. Open a second terminal window in one of these directories.
  9. Execute:
         hostname
    to find out the name of the machine you are running on.
    It should be something like antxx.
  10. In one window execute:
         server 12345
    In the other window execute:
         client antxx 12345
    where you fill in the xx from the previous step.
    Type in the window containing the client.
    After each return, the result should show up in the server window.
    Why does the result not show up immediately?
  11. Stop the client be typing CTRL-D on an empty line.
    You should be able to start another version of the client and communicate.
  12. Use CTRL-C to stop the server. The client should also terminate.
  13. Wait until you are told to do so and execute:
         client ant00 12345
    Type a line containing your name.
    You were interactiving with my server program. After you see it on the overhead, kill the client.
  14. Wait until you are told to do so and again execute:
         client ant00 12345
    You are connecting to my serverp program. Think about the difference.