dear all ,
i am gonna write a program that does a continuous ping.exe command to several switches. i want the program to sense the result from the ping command and does something in the case of " Reply " and does another something in the case of " request time out"
the main purpose of my program is to check the status of my network all the time and not on demand .
my idea was like that :
i put a plane with default color green if the result from the ping command is " reply " and the color will change to red if the connection is lost .
i use a code but the ping command was done for one time and give me green while the network connection is lost and the program did not sense this change.
i want the program to sense the connection all the time not on demand like clicking a button or checking check box .. etc .
can any body help me .
thank you.
i am gonna write a program that does a continuous ping.exe command to several switches. i want the program to sense the result from the ping command and does something in the case of " Reply " and does another something in the case of " request time out"
the main purpose of my program is to check the status of my network all the time and not on demand .
my idea was like that :
i put a plane with default color green if the result from the ping command is " reply " and the color will change to red if the connection is lost .
i use a code but the ping command was done for one time and give me green while the network connection is lost and the program did not sense this change.
i want the program to sense the connection all the time not on demand like clicking a button or checking check box .. etc .
can any body help me .
thank you.
Last edited by a moderator: