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

lrs_get_socket_handler

Example: lrs_get_socket_handler Sockets Functions

Retrieves the socket handler for the specified socket.

int lrs_get_socket_handler( char *s_desc );
s_desc A descriptor identifying the socket.

The lrs_get_socket_handler function retrieves the socket handler for the specified socket. Once you retrieve the socket handler, you can use it in subsequent functions.

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.