This chapter is about the remote procedure call (RPC) programming. It introduces the reader to the concept of writing RPC client–server code. Remote procedure call defines a powerful technology for creating distributed client–server programs. The RPC runtime libraries manage most of the details relating to network protocols and communication. With RPC, a client can connect to a server running on another platform. For example, the server could be written for Linux and the client could be written for Win32. The RPC is for distributed environment.
Programs communicating over a network need a paradigm for communication. The RPC is used in a distributed environment where communication is required between ...