Back to FlowSsh Documentation

Client - CancelForwarding

[C]

void __cdecl FlowSshC_Client_CancelForwarding(
  FlowSshC_Client* client,
  FlowSshC_ForwardingRule const* rule,
  FlowSshC_ForwardingHandler handler,
  void* handlerData);

[C++]

[Client] void CancelForwarding(
  ForwardingRuleRef const& rule,
  RefPtr<ForwardingHandler> const& response);

[C#]

[Client] public void CancelForwarding(
  ForwardingRuleRef rule,
  ForwardingHandler response);

Parameters

  • [C] client: FlowSshC_Client pointer.
  • [C] handler: A ForwardingHandler function to be used with the request. Optional.
  • [C] handlerData: An application-defined value to be passed to the handler. Optional.
     
  • rule:
    [C] A ForwardingRule structure. DestHost and DestPort are not used; they may be left uninitialized.
    [Cpp/Net] A ForwardingRuleRef structure/class.
     
  • [Cpp/Net] response: A ForwardingHandler object to be used with the request. Optional.

Remarks

Cancels a port forwarding defined by the ForwardingRule/Ref.