Share this page

# lrs_cleanup

Example: lrs_cleanup | Environment Functions

Terminates the use of the WinSock DLL.

    int lrs_cleanup( );

The lrs_cleanup function terminates the use of the Windows Sockets DLL, similar to WSACleanup and system resources, such as file descriptors, are freed. Check the return code to verify successful cleanup.

Typically, lrs_cleanup appears in the vuser_end section of the script. Note that not all WinSock applications call this function.

This function is recorded during a Windows Socket session.

## Return Values

Windows Sockets Return Values

## Parameterization

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

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: