VortexConnection * vortex_tunnel_new ( VortexTunnelSettings settings,
VortexConnectionNew  on_connected,
axlPointer  user_data 
)

Creates a new BEEP session to the remote endpoint, using the information provided by the tunnel setting (VortexTunnelSettings).

Parameters
settingsThe tunnel settings to be used to create the connection.
on_connectedAn optional handler to receive the connection created due to the tunnel. It works the same as the async notification handler that receives the vortex_connection_new.
user_dataUser defined data that is provided to the previous async notication handler.
Returns
A reference to the connection created.