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

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

Preface

The ONC+ Developer's Guide describes the programming interfaces to remote procedure call (RPC) which belongs to the ONC+ distributed services developed at Oracle Corporation.

Who Should Use This Guide

The guide assists you in converting an existing single-computer application to a networked, distributed application, or developing and implementing distributed applications.

Use of this guide assumes basic competence in programming, a working familiarity with the C programming language, and a working familiarity with the UNIX operating system. Previous experience in network programming is helpful, but is not required to use this manual.

How This Guide Is Organized

Chapter 1, Introduction to ONC+ Technologies gives a high-level introduction to the ONC+ distributed computing platform and services.

Chapter 2, Introduction to TI-RPC introduces TI-RPC.

Chapter 3, rpcgen Programming Guide describes how the rpcgen tool generates client and server stubs.

Chapter 4, Programmer's Interface to RPC describes the use of RPC in the programming environment.

Appendix A, XDR Technical Note describes XDR and how it is used in data formatting and type conversion.

Appendix B, RPC Protocol and Language Specification describes the protocol of RPC usage, both syntax and limitations.

Appendix C, XDR Protocol Specification describes the XDR protocol and language.

Appendix D, RPC Code Examples contains complete functional listings of some of the code included in the document as examples.

Appendix E, portmap Utility describes the portmap utility and its function. This appendix is included in this document to aid in the migration of applications written to run on earlier Oracle Solaris releases.

Related Books and Sites

For information on NFS distributed computing file system, see the following sources.

The following third-party books and articles provide information on network programming topics.

Access to Oracle Support

Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

Typographic Conventions

The following table describes the typographic conventions that are used in this book.

Table P-1 Typographic Conventions

Typeface
Description
Example
AaBbCc123
The names of commands, files, and directories, and onscreen computer output
Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123
What you type, contrasted with onscreen computer output
machine_name% su

Password:

aabbcc123
Placeholder: replace with a real name or value
The command to remove a file is rm filename.
AaBbCc123
Book titles, new terms, and terms to be emphasized
Read Chapter 6 in the User's Guide.

A cache is a copy that is stored locally.

Do not save the file.

Note: Some emphasized items appear bold online.

Shell Prompts in Command Examples

The following table shows the default UNIX system prompt and superuser prompt for shells that are included in the Oracle Solaris OS. Note that the default system prompt that is displayed in command examples varies, depending on the Oracle Solaris release.

Table P-2 Shell Prompts

Shell
Prompt
Bash shell, Korn shell, and Bourne shell
$
Bash shell, Korn shell, and Bourne shell for superuser
#
C shell
machine_name%
C shell for superuser
machine_name#