JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
ONC+ Developer's Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Introduction to ONC+ Technologies

2.  Introduction to TI-RPC

3.  rpcgen Programming Guide

What Is rpcgen?

Software Environment Features

rpcgen Tutorial

Converting Local Procedures to Remote Procedures

Passing Complex Data Structures

Preprocessing Directives

cpp Directive

Compile-Time Flags

Compile-Time Client and Server Templates

Compile-Time C-style Mode

Compile-Time MT-Safe Code

Compile-Time MT Auto Mode

Compile-Time TI-RPC or TS-RPC Library Selection

Compile-Time ANSI C-compliant Code

Compile-Time xdr_inline() Count

rpcgen Programming Techniques

Network Types/Transport Selection

Command-Line Define Statements

Server Response to Broadcast Calls

Port Monitor Support

Time-out Changes

Client Authentication

Dispatch Tables

64-Bit Considerations for rpcgen

IPv6 Considerations for rpcgen

Debugging Applications

4.  Programmer's Interface to RPC

5.  Advanced RPC Programming Techniques

6.  Porting From TS-RPC to TI-RPC

7.  Multithreaded RPC Programming

8.  Extensions to the Oracle Solaris RPC Library

A.  XDR Technical Note

B.  RPC Protocol and Language Specification

C.  XDR Protocol Specification

D.  RPC Code Examples

E.  portmap Utility

Glossary

Index

What Is rpcgen?

The rpcgen tool generates remote program interface modules. It compiles source code written in the RPC language. The RPC language is similar in syntax and structure to C. The rpcgen tool produces one or more C language source modules, which are then compiled by a C compiler.

The default output of rpcgen is:

rpcgen can optionally generate:

rpcgen significantly reduces the development time that would otherwise be spent developing low-level routines. Handwritten routines link easily with the rpcgen output. For a discussion of RPC programming without rpcgen, see Chapter 4, Programmer's Interface to RPC.