SshSession.cancelRemoteForward
SshGlobalRequestOperation cancelRemoteForward(string bindAddress,
ushort bindPort)Cancels a remote TCP/IP listener (cancel-tcpip-forward).
Incoming channels for the cancelled bind are refused from the moment this is called, even while the cancellation is in flight. bindPort must be the bound (possibly allocated) port.
Parameters
bindAddress | Address the listener was requested on. |
bindPort | The bound port of the listener. |
Returns
A stable operation driven by session pumping.