… | |
… | |
12 | REQUEST packets as quickly as possible to a large number of hosts |
12 | REQUEST packets as quickly as possible to a large number of hosts |
13 | (thousands to millions). |
13 | (thousands to millions). |
14 | |
14 | |
15 | It employs a sending thread and is fully event-driven (using AnyEvent), so |
15 | It employs a sending thread and is fully event-driven (using AnyEvent), so |
16 | you have to run an event model supported by AnyEvent to use this module. |
16 | you have to run an event model supported by AnyEvent to use this module. |
17 | |
|
|
18 | Receiving and processing reply packets is not currently supported by this |
|
|
19 | module. |
|
|
20 | |
17 | |
21 | =head1 FUNCTIONS |
18 | =head1 FUNCTIONS |
22 | |
19 | |
23 | =over 4 |
20 | =over 4 |
24 | |
21 | |
… | |
… | |
74 | |
71 | |
75 | =item Net::FPing::ipv6_supported |
72 | =item Net::FPing::ipv6_supported |
76 | |
73 | |
77 | Returns true if IPv6 is supported in this module and on this system. |
74 | Returns true if IPv6 is supported in this module and on this system. |
78 | |
75 | |
79 | =item Net::FPing::ipv4_pktsize |
76 | =item Net::FPing::icmp4_pktsize |
80 | |
77 | |
81 | Returns the number of bytes each IPv4 ping packet has. |
78 | Returns the number of bytes each IPv4 ping packet has. |
82 | |
79 | |
83 | =item Net::FPing::ipv6_pktsize |
80 | =item Net::FPing::icmp6_pktsize |
84 | |
81 | |
85 | Returns the number of bytes each IPv4 ping packet has. |
82 | Returns the number of bytes each IPv4 ping packet has. |
86 | |
83 | |
87 | =item Net::FPing::icmp_ping [ranges...], $send_interval, $payload, \&callback |
84 | =item Net::FPing::icmp_ping [ranges...], $send_interval, $payload, \&callback |
88 | |
85 | |
… | |
… | |
203 | |
200 | |
204 | 1; |
201 | 1; |
205 | |
202 | |
206 | =back |
203 | =back |
207 | |
204 | |
208 | =head1 BUGS AND SHORTCOMINGS |
|
|
209 | |
|
|
210 | - replies are not yet accessible. |
|
|
211 | - ipv6 support has never ever been tested. |
|
|
212 | |
|
|
213 | =head1 AUTHOR |
205 | =head1 AUTHOR |
214 | |
206 | |
215 | Marc Lehmann <schmorp@schmorp.de> |
207 | Marc Lehmann <schmorp@schmorp.de> |
216 | http://home.schmorp.de/ |
208 | http://home.schmorp.de/ |
217 | |
209 | |