Re: Can we have a "PING" function?
| From: | Andi Gutmans | Date: | Mon, 02 Apr 2001 16:20:29 +0000 |
| Subject: | Re: Can we have a "PING" function? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-50598@lists.php.net to get a copy of this message | ||
Maybe Dave will volunteer to implement this for 4.0.6 :)
Andi
At 10:42 AM 4/2/2001 +0200, Alexander Feldman wrote:
Do most servers and OS's (for example Windows) support the sending of a UDP package to the echo port? Andi Yeah, What about a new ICMP extension - ping, traceroute, etc. -- Alex 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 outlinedin thefollowing 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-- 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