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.
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.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|