After you have set up the hostname and proper login
credentials and you have issued the Connect
method, wodSSHTunnel will try to connect to the server and notify you when
connection occurs. It relies upon the use of an event because it cannot operate in blocking mode
When you receive the Connected event you can Start a specific
channel that you want to forward or you can call StartAll and
forget about them. However, if an error occurrs, the Disconnected
event will be fired instead. This will contain the ErrorCode and ErrorText
arguments which are set to the error description. In this case you will
have to reconnect to the server.