CS 3733 Operating Systems Classroom Activity 2 on Networks
- This is a continuation of Network Activity 1.
It assumes you have downloaded and compiled the chapter 18 programs.
- Look up your port numbers here.
For this activity you will be using the first port number assigned to you.
- Find partner.
Ask your partner for his/her port number and machine name.
Your port number will be referred to as your-port-number
and your partner's will be referred to as partner-port-number.
Similarly for the host names.
- The one with the smaller port number will run:
    serverp2 your-port-number
and the other will run:
    client2 partner-hostname partner-port-number
Note that you should both be using the same port number.
The two of you should be able to send messages back and forth.
- Switch roles in the other terminal window.
You can leave your other programs running.
The server will always use your-port-number and the client
will always use partner-port-number and parter-hostname
- After you have played with this for a while, shut down your server.