HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Set_Send_Type (cmsst)
Chapter 3286
CM_SEND_AND_FLUSH The data pointed to by the
Send_Data call is to be sent
immediately. This is equivalent to
Send_Data, with the
send_type
set
to CM_BUFFER_DATA, followed by
Flush.
CM_SEND_AND_CONFIRM The data is to be sent
immediately with a request for
confirmation. This is equivalent to
Send_Data, with the
send_type
set
to CM_BUFFER_DATA, followed by
Confirm.
CM_SEND_AND_PREP_TO_RECEIVE The data is to be sent
immediately along with notification
to the partner program that the
conversation state for the sending
program is changing to Receive. This
is equivalent to Send_Data, with the
send_type
set to CM_BUFFER_DATA,
followed by Prepare_To_Receive.
CM_SEND_AND_DEALLOCATE The data is to be sent
immediately along with deallocation
notification. This is equivalent to
Send_Data, with the
send_type
set
to CM_BUFFER_DATA, followed by
Deallocate.
Returned Parameters
After the verb executes, SNAplus2 returns parameters to indicate
whether the execution was successful and, if not, to indicate the reason
the execution was unsuccessful.
return_code
Possible values are:
CM_OK The call executed successfully.
CM_PROGRAM_PARAMETER_CHECK One of the following
has occurred: