lr_get_host_name and lr_get_master_host_name example

Example: lr_get_host_name
In the following example, the lr_get_host_name function retrieves the name of the station running the script.

char * my_host;
my_host = lr_get_host_name( );
lr_output_message("%s", my_host);



Example: lr_get_master_host_name
In the following example, the lr_get_master_host_name function retrieves the name of the Controller host.

char * controller_host;
controller_host = lr_get_master_host_name( );

No comments:

Post a Comment