Share this page

# lrt_tpchkunsol

Communication Functions

Returns the number of unsolicited messages.

int lrt_tpchkunsol( void );

The lrt_tpchkunsol function checks to see if the Tuxedo client received any unsolicited messages.

## Return Values

If the function ends with an error, it returns -1 and sets the error code in tperrno.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

The following example sends an output message if unsolicited messages were sent to the Tuxedo client.

Copy code

    int nMessages;nMessages = lrt_tpchkunsol();
    if (nMessages > 0)
           lr_output_message("%d unsolicited messages", nMessages);

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: