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

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.