Example: lrs_cleanupEnvironment 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


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