The application creates a connection to a port at a specified period of time. when the timeout exceeds the specified time in ms then the alarm is generated, and the host name turns red.The application works in the background and is activated when the alarm is triggered.