Client - CancelForwarding


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


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


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


  • [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.
    [C++/.NET] A ForwardingRuleRef structure/class.
  • [C++/.NET] response: A ForwardingHandler object to be used with the request. Optional.


Cancels a port forwarding defined by the ForwardingRule/Ref.