nabto_client_tcp_tunnel_stop()

DESCRIPTION

Stop a tcp tunnel. Stop can be used to cancel async functions like open and close. But the tcp tunnel cannot be used after it has been stopped. So you cannot call open, then stop and then resume the open again.

DECLARATION

NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API
nabto_client_tcp_tunnel_stop(NabtoClientTcpTunnel* tunnel)

PARAMETERS

tunnel:
[in] The tunnel.