Re: Can we have a "PING" function?

From: Date: Mon, 02 Apr 2001 05:36:17 +0000
Subject: Re: Can we have a "PING" function?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-50538@lists.php.net to get a copy of this message
Do most servers and OS's (for example Windows) support the sending of a UDP package to the echo port? Andi At 12:39 AM 4/2/2001 -0400, Dave Crawford wrote:
Before I ask for a PING function in a future build of PHP, is there a way to ping a remote host using the existing PHP functions or modules? Based on my knowledge gained from various sources and php.net's online functional reference, there does not appear to be much support for LWP anything. I would like to know how to do, or perhaps you can build a function in a future release that can do basically the same thing as outlined in the following document for a similar function in Perl: http://www.perl.com/pub/doc/manual/html/lib/Net/Ping.html When my site was all html and Perl, I used this function to ping all of my mirror download sites, and I coloured the ping value based on a range (Ex: less than 150ms was green, greater than 600ms was red, etc.) I need a way to incorperate this same functionality into my new all PHP based website. Thanks. -Dave -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.dev (#50538) next »