RE: [PEAR] [ANNOUNCEMENT] Net_Ping-2.4 (stable) Released.
| From: | James Nunnerley | Date: | Tue, 10 Feb 2004 12:19:49 +0000 |
| Subject: | RE: [PEAR] [ANNOUNCEMENT] Net_Ping-2.4 (stable) Released. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10597@lists.php.net to get a copy of this message | ||
Hi Folks,
Just tried using this package, however I think the documentation is
wrong. It suggests the following should work:
<?php
require_once 'Net/Ping.php' ;
$ping = new Net_Ping;
$ping->setArgs(array("count" => 5),
"size" => 32),
"ttl" => 512)
)
);
var_dump($ping->ping("example.com"));
?>
However, I think, and I'm no expert, that the array setting is wrong.
Can someone help me out?
Thanks
James
Webmaster@jnsolutions.co.uk
-----Original Message-----
From: PEAR Announce [mailto:pear-dev@lists.php.net]
Sent: 10 February 2004 11:57
To: PEAR general list
Subject: [PEAR] [ANNOUNCEMENT] Net_Ping-2.4 (stable) Released.
The new PEAR package Net_Ping-2.4 (stable) has been released at
http://pear.php.net/.
Release notes
-------------
* Fixed support for Debian (Bug #707) (jan)
* Ignore options to setArgs which are
unsupported by the backend (jan)
* Refactoring (jan)
* Fix path in testcase (Bug #707) (mj)
* Prevent a infinite exec call to ping by
setting a sane default - of 3 packages
to be sent (jan)
Package Info
-------------
OS independet wrapper class for executing ping calls
Related Links
-------------
Package home: http://pear.php.net/package/Net_Ping
Changelog: http://pear.php.net/package-changelog.php?package=Net_Ping
Download: http://pear.php.net/get/Net_Ping-2.4.tgz
Authors
-------------
Martin Jansen <mj@php.net> (lead)
Thomas V.V.Cox <cox@idecnet.com> (developer)
Jan Lehnardt <jan@php.net> (lead)
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php