$p->ping($host [, $timeout]); Ping the remote host and wait for a response....the success flag will be 1 if the host is reachable and 0 if it is not...