ACC X.25 Protocol User's Guide
126 Chapter4
X.25 Application Programming
ZX25SEND_INT (3X) — ACC X.25
See the NOTES section that follows for more information on using this
routine in a multi-threaded application.
PARAMETERS: zxip ZCOM X.25 access dat a structure (from zx25info call).
vzap ZCOM address of the Virtual Circuit terminal .
ibuf Buffer to send (character array).
len Length in Bytes to be sent
RETURN VALUE Routine zx25 send_int returns a 0 when successful. If there was a ZCOM
error, it retu rns a negative value. See
/opt/acc/include/zcom/zcomsys.h forthelistofZCOMerrorcodesand
their meanings. If zx25int_conf itself failed, one of the following positive
error codes is returned:
ZxeUNKNOWN_L2_ZLU (02) Unable to find the X.25 link ZLU for
this SVC ZLU.
ZxeINVALID_STATE (06) The ZLU specified is not in the data
transfer state.
ZxeLINK_IS_DOWN (11) The X.25 link is down. Unable to send
acknowledgment to D-bit data
packet.
ZxeUNKNOWN_VC_ZLU (13) The ZLU specified is not an X.25
Virtual Circuit ZLU.
ZxeMUST_CALL_ZX25INFO (17) The zx25info() routine has not been
called. You must call zx25info before
issuing any other zx25...() calls.
ZxeBAD_ZX25INFO_ADDR (18) Thepointertothezx25info_type
structure d oes not contain the same
address that was passed to the
zx25info() routine.
ZxeX25_NOT_INITIALIZED (98) The ACC X.25 subsystem has not
been initialized. You must run
zx25d_initbefore issuing any zx25...()
calls.










