Example: ctrx_get_server_name

In this example, ctrx_get_server_name retrieves the name of the connected server.

char buf[100];

ctrx_get_server_name( buf, CTRX_LAST );
lr_output_message("current server name is %s", buf);