HP-UX SNAplus2 R7 APPC Programmer's Guide

APPC Conversation Verbs
MC_CONFIRMED and CONFIRMED
4.4 MC_CONFIRMED and CONFIRMED
The MC_CONFIRMED or CONFIRMED verb replies to a conrmation request from the partner TP. It informs the
partner TP that the local TP has not detected an error in the received data.
Note
This verb can be used only in a half-duplex conversation; it is not valid in a full-duplex
conversation.
Because the TP issuing the conrmation request waits for a conrmation, the [MC_]CONFIRMED verb synchronizes
the processing of the two TPs.
4.4.1 Sources of Conrmation Requests
A conrmation request is issued by one of the following verbs in the partner TP:
[MC_]CONFIRM
[MC_]PREPARE_TO_RECEIVE if ptr_type is set to AP_SYNC_LEVEL and the conversations synchronization
level (established by the [MC_]ALLOCATE verb) is AP_CONFIRM_SYNC_LEVEL
[MC_]DEALLOCATE if dealloc_type is set to AP_SYNC_LEVEL and the conversations synchronization level
(established by the [MC_]ALLOCATE verb) is AP_CONFIRM_SYNC_LEVEL
[MC_]SEND_DATA if type is set to AP_SEND_DATA_CONFIRM and the conversations synchronization level
(established by the [MC_]ALLOCATE verb) is AP_CONFIRM_SYNC_LEVEL
4.4.2 Receiving Conrmation Requests
A conrmation request is received by the local TP through the what_rcvd parameter of one of the following verbs:
[MC_]RECEIVE_IMMEDIATE
[MC_]RECEIVE_AND_WAIT
[MC_]RECEIVE_AND_POST
The local TP can issue the MC_CONFIRMED or CONFIRMED verb only if the what_rcvd eld contains one of
the following values:
AP_CONFIRM_WHAT_RECEIVED, AP_DATA_CONFIRM,orAP_DATA_COMPLETE_CONFIRM
AP_CONFIRM_SEND, AP_DATA_CONFIRM_SEND,orAP_DATA_COMPLETE_CONFIRM_SEND
AP_CONFIRM_DEALLOCATE, AP_DATA_CONFIRM_DEALLOCATE,or
AP_DATA_COMPLETE_CONFIRM_DEALL
4.4.3 VCB Structure: MC_CONFIRMED
UNIX
The denition of the VCB structure for the MC_CONFIRMED verb is as follows:
typedef struct mc_confirmed
{
125