Share this page

# Example: lrs_get_socket_handler

In the following example, lrs_get_socket_handler retrieves the socket handler of socket0.

    int handler=0;

     /* create the socket0 */

    lrs_create_socket ("socket0", "UDP", LrsLastArg);

     /* get the socket handler */

    handler = lrs_get_socket_handler("socket0");

    lr_output_message("socket0 handler is %d", handler);

Example of an output message:
socket0 handler is 176

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: