Back to product page

PortForwardDisconnect event

Fires when user port forwarding is to be closed.


  • Basic
Private Sub object_PortForwardDisconnect(User, RemoteHost, RemotePort)
The PortForwardDisconnect(object,User,RemoteHost,RemotePort) syntax has these parts:
objectA wodSSHD object.
UserA SSHUser object. Reference to user who is responsible for this port forwarding.
RemoteHostA String value. Hostname or IP address of remote peer.
RemotePortA Long value. Port number used on the remote peer's computer.


This event is fired after request for port forward or port binding (appropriate event was already fired when such request was made by the client) is about to be closed. Values or User.LocalPFCount/RemotePFCount will be decreased.