In this example, instead of calling function in the same program, main calls a client stub function (with the same prototype as function) which is responsible for packaging up the information and getting it across the wire to another process, via the comms channel. It's very similar to a function prototype in C but the end result is slightly different, such as in the following graphic: +-+ RPC needs to create stub functions for the client and a server, using the IDL information. There have been many variations of this such as Sun RPC, ONC RPC, DCE RPC and so on.īasically, you use an IDL to specify the interface between client and server so that the RPC mechanism can create the code stubs required to call functions across the network. An interface definition language (IDL) is used to set up communications between clients and servers in remote procedure calls (RPC).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |