I am writing a CGI script that goes out and ping's all of our DSL routers to determine whether thay are UP or DOWN and produces a page providing all the required information.
I use the ping via the system() command and send out only one ping. The problem is that if the router is down it take about 10 seconds to return from the system ping command.
Is there a better/faster way to do this?
Jonathan Southwick
Allegheny College
jsouthwi@allegheny.edu