Share this page

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

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: