ACC X.25 Protocol User's Guide
X.25 Application Programming
Introduction
Chapter 464
Introduction
CAUTION The API described here may not be used for an X.25 link or VC ZLU that
is accessed or used by the X.25/9000 Streams product.
This chapter contains a general discussion of programming using the
ZCOM and ACC X.25 API calls for communicating across X.25 Virtual
Circuits. However, before reading this chapter you should review
chapters 1, 2, and the section “Message Header” in chapter 3 of the
ACC Programmer’s Reference Guide. You should also review the
following man pages: zinit(), zopen(), zinfo(), zset_rcvr(), zcntl(), zsend(),
zread(), and zclos(), in the ACC Programmer’s Reference Guide. In most
X.25 applications, these are the core general ZCOM API routines that
will be used.
The general ZCOM API routines are used to initialize your application
and to send and receive data to/from Virtual Circuit ZLUs. The ACC X.25
API routines are used to perform X.25 specific actions such as
establishing and clearing calls on SVCs or sending Reset Requests. This
chapter is broken into four sections: Programmatic Configuration, X.25
Link Initialization, Sending and Receiving data, and Using the X.25 API
routines.
To help you understand the general structure of an X.25 application, the
following pseudo code example is provided.










