Reputation: 75
I'm using POE::Component::Client::Ping to ping multiple hosts with this example.
As I understand this sends one request to host. Is it possible to specify number of packets to ping like in ping -c 4 HOST
?
Upvotes: 0
Views: 1030
Reputation: 104
No, POE::Component::Client::Ping doesn't implement repetition logic. It just pings. I wrote it such that control of how it pings is almost entirely in your hands.
Upvotes: 0
Reputation: 489
Yes, it is possible to send a ping with a non-standard payload size. Details here :
https://metacpan.org/pod/POE::Component::Client::Ping#OTHER-RESOURCES
Upvotes: 0