Home Segments Index Top Previous Next

743: Mainline

To experiment with the server and client programs, suppose you are working with two Unix computers, and you wish to use one as the server. Once you modify both the server program and the client program, replacing Internet address 128.52.36.4 with the Internet address of your server computer, you issue the following command on the server computer.

       *-- Tells Unix to run the server program  
       |   in the background 
       | 
       v 
server & 

Then, on the client machine, you issue the following command:

client 

At this point, you are prompted to supply an interest rate, and once you provide one, the client talks to the server, the server responds to the client, and the client displays the time it takes to double your money at the supplied interest rate.