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).

settings The tunnel settings to be used to create the connection.
on_connected An 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_data User defined data that is provided to the previous async notication handler.
A reference to the connection created.