ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories >> Software >> Client-Server >> Client-Server-General
 
 
 
Question
What is Remote Procedure Call?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
Answer
Remote Procedure Call (RPC) is a protocol that one program 
can use to request a service from a program located in 
another computer in a network without having to understand 
network details. (A procedure call is also sometimes known 
as a function call or a subroutine call.) RPC uses the 
client/server model. The requesting program is a client and 
the service-providing program is the server. Like a regular 
or local procedure call, an RPC is a synchronous operation 
requiring the requesting program to be suspended until the 
results of the remote procedure are returned. However, the 
use of lightweight processes or threads that share the same 
address space allows multiple RPCs to be performed 
concurrently. 
When program statements that use RPC are compiled into an 
executable program, a stub is included in the compiled code 
that acts as the representative of the remote procedure 
code. When the program is run and the procedure call is 
issued, the stub receives the request and forwards it to a 
client runtime program in the local computer. The client 
runtime program has the knowledge of how to address the 
remote computer and server application and sends the 
message across the network that requests the remote 
procedure. Similarly, the server includes a runtime program 
and stub that interface with the remote procedure itself. 
Results are returned the same way.
 
0
Alok Misra
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com