Remote Procedure Call (cont.)
Client procedure calls the client stub in a normal way
Client stub builds a message and traps to the kernel
Kernel sends the message to remote kernel
Remote kernel gives the message to server stub
Server stub unpacks parameters and calls the server
Server computes results and returns it to server stub
Server stub packs results in a message and traps to kernel
Remote kernel sends message to client kernel
Client kernel gives message to client stub
Client stub unpacks results and returns to client