ACSE/Presentation and ROSE Interface Programmer's Guide
Chapter 4 47
Programming Guide
Summary of Programming Tasks
5. Decide if multiple associations need to be supported. The process
accepting multiple connections needs to create additional
communication endpoints and instances of the A/P environment.
Review the paragraphs describing: execution mode, connection retry,
and maximum number of connections supported (system, processes,
and other applications).
6. Other tasks:
• Understand how file descriptors, common parameters, data, and
structures are used in ACSE/Presentation applications.
• Handle signals. You need to create signal handler routines to
capture unexpected program interrupts.
• Handle errors. ACSE/Presentation calls return values indicating
success or failure, and also return specific error conditions that the
processes must handle.
7. Prepare to start your applications. Before running:
• Determine how the remote processes will be started.
• Check the system before executing applications.
• Start OTS before executing ACSE/Presentation applications.
• If you install a new version of HP OTS/9000, you must re-link your
programs with the new library.
8. Troubleshoot your application. If you have problems, you can use API
tracing described in chapter 5, “Troubleshooting your Application.”