snalu62_flush(3) — Subroutines
NAME
snalu62_flush − Causes the interface to transmit the buffered data in the send queue to the remote transaction program.
LIBRARY
/usr/shlib/libsnatprm.so
SYNOPSIS
#include <sna/snatprmdf.h>
STATUS_RTN snalu62_flush(
RES_ID resource,
STATUS_VEC status_vec,
ASYNC_INFO ∗wait_object
);
Valid Conversation States
HDX: Send
FDX: Send-Receive and Send-Only
SUPPLIED PARAMETERS
resource
A RES_ID structure specifying the resource ID assigned to the conversation by the interface. This ID is returned by the snalu62_allocate, snalu62_attach_listen, or snalu62_receive_allocate verb.
wait_object
A pointer to an ASYNC_INFO structure specifying whether the interface should process this verb in a blocking or non-blocking manner.
RETURNED PARAMETER
status_vec
A pointer to a STATUS_VEC array to receive the completion status information.
DESCRIPTION
This verb flushes the local LU’s send buffer. The LU sends any information it has buffered to the remote LU. Information in the LU buffers can come from the snalu62_allocate, snalu62_send_data, snalu62_prepare_to_receive, or snalu62_send_error verb.
RESTRICTIONS
None
RETURN VALUES
SNALU62_S_OKnormal successful completion
SNALU62_S_CONVCANC
conversation canceled
SNALU62_S_ERRIND
error indication
SNALU62_S_OPINCOMP
non-blocking operation not completed
SNALU62_S_OPNOTACC
non-blocking operation not accepted
SNALU62_S_PARERR
parameter error, function-name
SNALU62_S_PRGPARCHK
program parameter check
SNALU62_S_STAERR
LU6.2 verb function-name invalid with conversation in current state
SNALU62_S_UNSUC
verb did not execute successfully
ERRORS
None
RELATED INFORMATION
Functions: snalu62_send
Manuals: Compaq SNA APPC/LU6.2 Programming Interface for Tru64 UNIX Programming and IBM’s Systems Network Architecture Transaction Programmer’s Reference Manual for LU Type 6.2.