Share this page

# Example: lrs_cleanup

In the following example lrs_cleanup terminates the WinSock session.

    int LR_FUNC vuser_end(LR_PARAM p) {

        int rc = lrs_cleanup();

        if (rc != 0)

            lr_output_message("Winsocket resources not freed. error %d", rc);

        return 0;

    }

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: