I am writing a programm to control a computer from another one via cmd. I ran into a problem, when I want to make sure the host is up.
try {