const char * vortex_connection_get_server_name ( VortexConnection connection)

Allows to get the serverName under which the remote BEEP peer is working.

During the BEEP session, the first channel created under a provided serverName attribute is meaningful for the rest of the session. This means that the connection gets flagged with the serverName under which is acting.

connectionThe connection that is required to return its server name value.
The serverName value or NULL if no server name was configured.

Referenced by vortex_channel_new_full(), and vortex_tls_verify_cert().