Returns the logical server name from the given connection.
Gets the logic name this connection is connected to. This is not the host and port location but the server name. An example of this: af-kernel is the logical server name and the host and port location is localhost:55000
You can also read: Naming convention inside the Af-Arch.
|connection ||The connection to get server logical name.|
- the server name for the given connection or NULL if it fails. If result is not NULL the function returns a newly created string so the result must be deallocated using g_free.