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

lrs_set_socket_handler

Example: lrs_set_socket_handler Sockets Functions

Sets a socket handler for the specified socket.

int lrs_set_socket_handler( char *s_desc, int handler );
s_desc A descriptor identifying the socket.
handler A socket handler.

The lrs_set_socket_handler function sets a socket handler for the specified socket.

This function is not recorded during a WinSock session—you manually insert it into your script.

Return Values

Windows Sockets Return Values

Parameterization

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