nabto_client_tcp_tunnel_new()

DESCRIPTION

Create a tunnel

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientTcpTunnel* NABTO_CLIENT_API
nabto_client_tcp_tunnel_new(NabtoClientConnection* connection)

PARAMETERS

connection:
The connection to make the tunnel on, the connection needs to be kept alive until the tunnel has been closed.

RETURN VALUES

Tunnel handle if the tunnel could be created, NULL otherwise.

EXAMPLES

None.