Description Fires when a user wants to open an outgoing connection through a socks server.
Syntax
Private Sub object_SocksConnect(Chan, User,
RemoteAddress, RemotePort, Login, Password, Allow)
The SocksConnect Event syntax has these parts:
|
| object | A wodTunnel object. | | Chan | A Channel
object. Reference to the channel used. | | User | An User
object. Reference to the user who wants to connect through a socks
proxy. | |
RemoteAddress | A String value.
The Hostname or IP address that the user wants to connect to. | |
RemotePort | A Long value. The Port
on the remote host that the user wants to connect to. | | Login |
A String value. Login/Username supplied by the user to access
wodSSHTunnel's socks features. | | Password |
A String value. Password supplied by the user to access wodSSHTunnel's
socks features. | | Allow |
A Boolean value. When set to False, wodSSHTunnel aborts
socks request. |
Remarks The SocksConnect event is fired only if you have
created the channel using the SocksProxy setting in the
Channel.Type property and the
user wants to connect to a remote hostname through your proxy. When this event is
fired you will get information about this socks request that you should
evaluate and then set the Allow argument accordingly.
This event informs you that a request has been made but this does not
mean that a connection will be established (it may still fail with an
error), but in this case the appropriate event will be fired (such as the
UserDisconnected event).
|