I am coding a socket based application and I'm wondering how I can detect if my connection to the server gets lost, or my server goes down.
I've read a little tutorial about how to do it in python Python, recreate a socket and automatically reconnect but I really don't know how can I carry this to vb.net