nabto_client_tcp_tunnel_close()

DESCRIPTION

Close a TCP tunnel.

This closes the tcp tunnel.

  • The listener is closed.
  • Each ongoing tunnelled tcp connection is aborted.

DECLARATION

NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API
nabto_client_tcp_tunnel_close(NabtoClientTcpTunnel* tunnel, NabtoClientFuture* future)

PARAMETERS

tunnel:
[in] the tunnel to close.
future:
[in] the future which resolves with the status of the operation.

RETURN VALUES

None.

EXAMPLES

None.