const char * myqtt_conn_get_server_name ( MyQttConn conn)

Allows to get the server name that was used on this connection by indicating the host to connect to.

Parameters
connThe connection where the operation is taking place.
Returns
A reference to the connection where the serverName is stored.