Saturday, 5 November 2011

How RPC Works

RPC implements a series of tasks in order to establish communication between a client and a server. First, the client initiates a specific objective by contacting a local process known as a “client stub” with parameters for accessing a file or service. The client stub converts the parameters it receives from the client into appropriate parameters on the server. The client stub then sends these new parameters to the operating system’s kernel, which then sends the message to the server stub (same as client stub, but is located on the server machine). The server stub decodes the message and sends it to the appropriate application or service. Once the application has been contacted, replies may be sent in the reverse direction through each of these processes.

0 comments:

Post a Comment