Example: lrs_startup

In the following example, the lrs_startup function initializes the Windows Sockets environment. After the environment is set up, a socket can be created and data can be transmitted.

int LR_FUNC vuser_init(LR_PARAM p)
{
    lrs_startup(257);
    return 0;
}