Hola ! On Thu, May 19, 2005 at 04:39:13PM -0400, hacker wrote: > My ISP has pings blocked. Is there some other echo command I can use > to test my connection? >
$ perl -MNet::Ping -e '$p = Net::Ping->new("tcp"); $ip = "somehost" ; print "I can reach $ip!\n" if $p->ping("$ip", 5.5); ' By default it will try to connect to TCP "echo" port (if the three-way handshacking has completed ok [between the timeout 5.5] it will return true, otherwise false) . Regards. -- Matías Rollán <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]