On a SUN Solaris machine in MTF:

1. Download the server file and the client file.

2. Compile the server and client.

2.1 Compile the server using the following command.

   gcc -o server server.c -lsocket -lnsl

2.2 Compile the client using the following command.

   gcc -o client client.c -lsocket -lnsl

3. Start the programs. (Assume that you start the server at your current machine, which is called xyz.)

3.1 Start the server.

   ./server 12500

   Note: Let the server keep running. (You can use Control + C to stop it at anytime)

3.2 Start a client.

   ./client xyz 12500

   Note: You may run client and server programs on the same machine or different machines.

4. Test the programs.

4.1 Start running the server first and then the client.

4.2 At the client side, you will be prompted for an input. After an input is entered,
the server will print the input message and then the client will print the same message.