Acknowledges data received with the D-bit set.
X.25 Communications Library (libx25s.a)
int x25_ack(conn_id) int conn_id;
The x25_ack subroutine sends an acknowledgment for the data packet most recently received with the D-bit set for the call specified by the conn_id parameter.
Control is returned to the calling application when the adapter has queued the packet for transmission.
|conn_id||Connection identifier of the call.|
If successful, the x25_ack subroutine returns a value of 0. If an error occurs, the x25_ack subroutine returns a value of -1 and sets the x25_errno global variable to one of the error codes shown below.
On failure, the x25_errno global variable is set to one of the following values:
If the x25_errno global variable is set to a X25SYSERR value, the errno global variable is set to one of the following values:
Acknowledge data received with the D-bit set: example program svcrcv.
This subroutine is part of X.25 Application in Base Operating System (BOS) Extensions 2.
The x25_send subroutine.
Processing Calls with the X.25 API, Using the X.25 Structures and Flags in AIX Version 4.3 Communications Programming Concepts.