Windows Sockets Vuser Functions (LRS) > Alphabetical List of Functions > lrs_cleanup

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.