HP-UX SNAplus2 R7 APPC Programmer's Guide
APPC Conversation Verbs
MC_FLUSH and FLUSH
4.6 MC_FLUSH and FLUSH
The MC_FLUSH or FLUSH verb sends the contents of the local LU’s send buffer to the partner LU (and TP). If
the send buffer is empty, no action takes place.
4.6.1 Sources of Buffered Data
Data processed by the [MC_]SEND_DATA verb and allocation requests generated by the [MC_]ALLOCATE verb
accumulate in the local LU’s send buffer until one of the following happens:
• The local TP issues the [MC_]FLUSH verb (or other verb that flushes the LU’s send buffer)
• The buffer is full
4.6.2 VCB Structure: MC_FLUSH
UNIX
The definition of the VCB structure for the MC_FLUSH verb is as follows:
typedef struct mc_flush
{
AP_UINT16 opcode;
unsigned char opext;
unsigned char format; /* Reserved */
AP_UINT16 primary_rc;
AP_UINT32 secondary_rc;
unsigned char tp_id[8];
AP_UINT32 conv_id;
} MC_FLUSH;
4.6.3 VCB Structure: FLUSH
The definition of the VCB structure for the FLUSH verb is as follows:
typedef struct flush
{
AP_UINT16 opcode;
unsigned char opext;
unsigned char format; /* Reserved */
AP_UINT16 primary_rc;
AP_UINT32 secondary_rc;
unsigned char tp_id[8];
AP_UINT32 conv_id;
} FLUSH;
4.6.4 VCB Structure: MC_FLUSH (Windows)
WINDOWS
The definition of the VCB structure for the MC_FLUSH verb is as follows:
typedef struct mc_flush
{
unsigned short opcode;
140