Creates a new BEEP session to the remote endpoint, using the information provided by the tunnel setting (VortexTunnelSettings).
- Parameters:
-
| 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. |
- Returns:
- A reference to the connection created.