/****************************README********************************/
     Simple RPC calculator......
     This RPC calculator support some basic maths operations by using remote procedural call

1. procedures: The user must be installed GTK on his/her LINUX based PC.
          In this project I used socket programming to pass the  argument for remote computer and GTK to design the GUI interface 

 
2. FILES: 
                servercalculator.c
                clientcalculator.c


clientcalculator.c
                This is the GTK calculator program which is executed on client side.         
 *             This program can create the actual user interface of calculator on client side and passes
              the user information to the server side for further remotely executions, if the user wants to write values 
              directly through keyboard rather than clicking on GtkButtons ,the user must be first click the mouth button on 
              text box, then the user can start writing.



servercalculator.c    This is the GTK calculator which is executed on server side.Here the calculation of user
                       information that passed from client is calculated and the final result is return back to the client 


3. Compliling and running the application
 
    write make command on TERMINAL , so that the two executable files are created....
   Open two terminals let say one is server and the other one client. Now simply run the programs ./servercalculator and ./clientcalculator
 on the  server and client  respectively. The server procedures must be registered before the client can call it. in this programs , the Server process listens at port 1224 and I have used loopback address for the Server so that we can run the server and the client in different terminals in the same system.
 
  Terminal 1:
           ./servercalculator
 Terminal 2:

           ./clientcalculator

  
    The execution is started from client side, so that the actual user information is passed to server side and the calculation is done on server. Then the final result is back to client.
 
	
	
