HP-UX SNAplus2 R7 APPC Programmer's Guide

APPC Conversation Verbs
MC_SEND_DATA and SEND_DATA
4.15.7 State When Issued
The conversation state is Reset when the TP issues this verb. It can be issued during an existing conversation that
is in any state, because it always implies the start of a new conversation that is in Reset state.
4.15.8 State Change
The conversation state does not change for this verb.
4.16 MC_SEND_DATA and SEND_DATA
The MC_SEND_DATA or SEND_DATA verb puts data in the local LUs send buffer for transmission to the partner
TP.
The data collected in the local LUs send buffer is transmitted to the partner LU (and partner TP) when one of the
following occurs:
The send buffer lls up.
The local TP issues a verb that ushes the LUs send buffer. The verbs that do this
are [MC_]CONFIRM, [MC_]DEALLOCATE, [MC_]FLUSH, [MC_]PREPARE_TO_RECEIVE,
[MC_]RECEIVE_AND_WAIT, [MC_]RECEIVE_AND_POST, and [MC_]SEND_ERROR. ([MC_]CONFIRM,
[MC_]PREPARE_TO_RECEIVE, and [MC_]RECEIVE_AND_POST apply only to half-duplex conversations.)
The MC_SEND_DATA or SEND_DATA verb also includes options that enable it to perform the function of the
[MC_]CONFIRM, [MC_]DEALLOCATE, [MC_]FLUSH, or [MC_]PREPARE_TO_RECEIVE verb in addition to
sending the data. This is equivalent to issuing [MC_]SEND_DATA followed by another verb.
4.16.1 VCB Structure: MC_SEND_DATA
UNIX
The denition of the VCB structure for the MC_SEND_DATA verb is as follows:
typedef struct mc_send_data
{
AP_UINT16 opcode;
unsigned char opext;
unsigned char format;
AP_UINT16 primary_rc;
AP_UINT32 secondary_rc;
unsigned char tp_id[8];
AP_UINT32 conv_id;
unsigned char rts_rcvd;
unsigned char expd_rcvd;
AP_UINT16 dlen;
unsigned char *dptr;
unsigned char type;
unsigned char data_type;
} MC_SEND_DATA;
4.16.2 VCB Structure: SEND_DATA
The denition of the VCB structure for the SEND_DATA verb is as follows:
215