ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-FastPing/FastPing.pm
(Generate patch)

Comparing AnyEvent-FastPing/FastPing.pm (file contents):
Revision 1.14 by root, Wed Feb 2 20:04:17 2011 UTC vs.
Revision 1.15 by root, Sat Feb 5 23:37:21 2011 UTC

284 284
285=item $pinger->add_hosts ([$host...], $interval, $interleave) 285=item $pinger->add_hosts ([$host...], $interval, $interleave)
286 286
287Similar to C<add_range>, but uses a list of single addresses instead. The 287Similar to C<add_range>, but uses a list of single addresses instead. The
288list is specified as an array reference as first argument. Each entry in 288list is specified as an array reference as first argument. Each entry in
289the array should be a binary host address, either IPv4 or IPv6. Currently, 289the array should be a binary host address, either IPv4 or IPv6. If all
290all entries in the list must be either IPv4 B<OR> IPv6, so you have to 290addresses are IPv4 addresses, then a compact IPv4-only format will be used
291create two host ranges if you have mixed addresses. 291to store the list internally.
292 292
293Minimum C<$interval> is the same as for C<add_range> and can be left out. 293Minimum C<$interval> is the same as for C<add_range> and can be left out.
294 294
295C<$interlave> specifies an increment between addresses: often address 295C<$interlave> specifies an increment between addresses: often address
296lists are generated in a way that results in clustering - first all 296lists are generated in a way that results in clustering - first all

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines