HP X.25/9000 Programmer's Guide
Chapter 1 7
Introduction to X.25 Programmatic Access
Getting Started with X.25 Programmatic Access
Getting Started with X.25 Programmatic
Access
Before you begin designing your application:
Step 1. Finish reading this manual so you understand how processes establish a
connection, exchange data, handle asynchronous (out-of-band) events,
and terminate connections.
Step 2. Check that your node or system manager has installed and configured
the X.25 product on your local host. Use the x25check(1M) command to
test that X.25 is running and connected.
Step 3. Using the x25stat(1) command, get the X.121 addresses and interface
names of the X.25 interfaces you intend to use.
Step 4. Determine which role your application will play in connection
establishment: client or server.
Step 5. If your application will play the role of the client in connection
establishment:
• Get the addressing information for the remote hosts and servers to
which your application will establish a connection. To a large degree,
this information is application dependent and may only be available
from an authority on the remote host.
• Get the strategy for information exchange between your process and
the remote. This usually, but not necessarily, is an extension of the
client/server model, with different formats for requests and
responses.
Step 6. If your application program will play the role of the server in connection
establishment:
• Define the range of addresses at which you will receive connection
requests and make them known to the designers of client processes.
This will depend on the X.25 interfaces which are connected to your
local host, the addresses used by existing servers, and the flexibility
and connectivity of the clients from which your program will be
accepting connections.
• Develop a strategy for information exchange. Typically, this implies
36960-90061.bk Page 7 Friday, November 10, 2000 3:42 PM










