RPC Application Development (Defining Protocol (Types of definitions…
RPC Application Development
Define Interface between the client and server
Establishing the framework for application development
Types of definitions
An RPC Protocol definition file has a x extension
A client can ask a server to add or delete a personnel record from a remote database
Developing Server and Client Application Code
Now we can create service procedures specified in the protocol
Client and servers are passed by address
Device procedures must work with pointers because they are invoke by the despatcher
Client code will make local calls
With ONC RPC you create a connection using either the TCP or UDP IP transports
RPC Makes Interprocess Communications Less Painful
It can be difficult to develop
Cookies for development are useful
Essential part of the client server model
Sockets are used to develop the network communications rotuines
Compiling and running the application
It could be possible the automating of the compilation process
RPC servers don't have to be started manually
This is the phase to compile the client and the server
This is a overview of the development application process
How RPC Systems Work
makes the client/server model of computing more powerful and easier to program. When combined with the ONC RPCGEN protocol compiler
RPC specifically supports network applications.
A remote procedure is uniquely identified by the triple: (program number, version number, procedure number)
A program may consist of one or more versions.
Each version consists of a collection of procedures which are available to be called remotely.
Version numbers enable multiple versions of an RPC protocol to be available simultaneously.