CS_SERVERNAME gives the name of the server to which a connection is made.
CS_SERVERNAME is a read-only property, and an application can only retrieve its value after a connection is opened with ct_connect.
If external configuration is enabled for the connection, you can change the server name by modifying the CS_SERVERNAME definition in the configuration file. See “Enabling external configuration”.
To specify the name of a server to connect to, pass the server name to ct_connect.