PHP Classes

Net Ping: Send ping requests sending ICMP packets

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 1,312 All time: 2,935 This week: 267Up
Version License PHP version Categories
net-ping 0.01GNU General Publi...3.0Networking
Description 

Author

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.

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
Picture of Maxim Ignatenko
Name: Maxim Ignatenko <contact>
Classes: 2 packages by
Country: Russian Federation Russian Federation
Age: 40
All time rank: 162449 in Russian Federation Russian Federation
Week rank: 349 Up16 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,312
This week:0
All time:2,935
This week:267Up
User Ratings User Comments (2)
 All time
Utility:92%StarStarStarStarStar
Consistency:89%StarStarStarStarStar
Documentation:-
Examples:92%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:717
 
freaky awsome!
9 years ago (Mark Cp)
70%StarStarStarStar
Good work! Finally there is a ping class NOT using exec() nor...
13 years ago (Artur Graniszewski)
67%StarStarStarStar