HP 9000 Networking XTI Programmer's Guide

11
XTI over OSI Networks
Summary of Programming Tasks
Summary of Programming Tasks
The following list summarizes the tasks you need to perform in order to
successfully create and execute your programs. These tasks are discussed in
more detail in the following sections.
1 Determine how addressing will be handled. You must configure valid NSAPs for
the systems used.
2 Ensure that destination NSAPs referred to in the XTI program are configured for
each system except for destination LAN nodes supporting the ES-IS protocol.
Refer to Installing and Administering OSI Transport Services or the OSI
Troubleshooting Guide for more information.
3 Determine if OSI connection options will be negotiated.
Make sure that the remote system you are accessing supports the options you
wish to negotiate.
XTI supported options include: flowcontrol (yes or no), expedited data (yes
or no), and class selection (class 4,2,0).
4 Decide if you will use synchronous and/or asynchronous mode processing.
5 Handle signals: you need to create signal handler routines to capture unexpected
program interrupts.
6 XTI (as opposed to TLI) requires the use of the O_NONBLOCK, and not the
O_NDELAY flag to enable asynchronous mode. The O_NDELAY flag should not
be used with XTI because this may yield unpredictable results.
7 Manage system resources if large numbers of connections are used.
8 If upgrading from a version of XTI prior to HP-UX 10.0 (OTS version prior to
C.05.00), read the section “Upgrading from Previous XTI Versions” in this
chapter.
9 Preparing to start your applications:
Start OTS before executing XTI applications. Remote system OSI transport
systems must be started.
If you install a new version of OTS/9000, you must recompile your programs.
Remote processes must be manually started or can be scheduled by user-
written daemons.