Share this page

# Example: lrs_get_last_received_buffer_size

In the following example, we check if data was received on a socket using lrs_get_last_received_buffer_size. If not we send an error message.

    lrs_receive("socket2", "buf20", LrsLastArg);

    if (lrs_get_last_received_buffer_size("socket2") < 1) {

        lr_error_message("No data received on socket2");

        return -1

    }

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