How to handle a SocketException

Jul 11, 2012 at 5:46 PM
Edited Jul 11, 2012 at 5:50 PM

how would I handle a SocketException? in example, when the client tries to connect to an SSH server that doesn't exist.

Currently, i just say 

session.Connect()

but if the specified SSH server doesn't exist, it says that there was an unhandled SocketException

thank you in advance,

DudeOfAwesome

Jul 11, 2012 at 6:39 PM

solved

Aug 7, 2012 at 12:28 PM

I have the same SocketException, please how to solve it?