PHP Classes
elePHPant
Icontem

Net Ping: Send ping requests sending ICMP packets

Recommend this page to a friend!

  Author Author  
Picture of Maxim Ignatenko
Name: Maxim Ignatenko <contact>
Classes: 2 packages by
Country: Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to send ping requests sending ICMP packets.

It creates a socket to send packets to a given remote computer from a given local IP address or the default local network interface.

The class sends the ping ICMP packets and retrieves the response time if it arrived before a given timeout value.

  Classes of Maxim Ignatenko  >  Net Ping  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Net Ping
Base name: net-ping
Description: Send ping requests sending ICMP packets
Version: 0.01
PHP version: 3.0
License: GNU General Public License (GPL)
 
  Groups   Applications   Files Files  

  Groups  
Group folder image Networking Networking protocols, clients and servers View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
November 2010
Number 3


Prize: One downloadable copy of Komodo IDE
When you need to know if a remote machine is accessible and responding adequately to network accesses, you can use the ICMP protocol to send request to a remote host and see how it responds.

The ping program exists in many Operating Systems and can be used to send ICMP requests to check a remote server. However, in some cases, PHP applications cannot use the ping program due to PHP setup constraints.

This class provides an alternative solution for emulating the ping program by sending ICMP protocol requests using pure PHP code.

Manuel Lemos

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example example
Plain text file netping.php Class class file

Install with Composer Install with Composer - Download Download all files: net-ping.tar.gz net-ping.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.