I am working o implementing a "ping" function into one of my programs. I've found several people who have claimed to have simplified it, but their codes have errors in them! The first one wasn't bad, I wrote all the code and line where the ping is actually executed says something like "ping.Ping(svrHost); but when I compile it says that "ping" is not a valid identifier or something to the effect that it wasn't declared earlier in the program. I don't know how to fix this, so if anyone can give me ping code that works or tell me how to fix the other code I would be thankful! I don't want a complex ping that finds the round trip time, just one that will verify whether a server is up and running or not. ANY HELP IS GREATLY APPRECIATED!!!!!!!