VortexConnection * afdal_session_get_connection gchar *  server_name,
GError **  error
 

Returns a connection to the given logical server name.

This function should be used only from libafdal* libraries for getting connections to the needed af-servers.

You can also check afdal_request documentation for an example that uses this function.

Parameters:
server_name Server name we want to connect to. Server name must be the same used when it was registered.
error A GError to notify errors (deprecated, do not reply on this value)
Returns:
The connection to the server, or NULL if the server is unreacheable.