Share this page

# lrs_startup

Example: lrs_startup | Environment Functions

Initializes the WinSock DLL.

    int lrs_startup( int version );

version | The version of Windows Sockets.

The lrs_startup function initializes the Windows Sockets DLL. It specifies the highest Windows Sockets version that can be used with the application. This function must be executed before all other LRS functions. Typically, it appears in the vuser_init section of the script. If this function fails, execution is terminated immediately.

## 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: