Net::Async::Ping::TCP
version 0.003000
This is the TCP part of Net::Async::Ping. See that documentation for full details.
Net::Async::Ping::TCP will always terminate with the hi resolution time it took to check for liveness, with the success or failure checked by introspecting the future itself.
service_check, which is off by default, will cause ping to fail if the host refuses connection to the selected port (7 by default.)
service_check
my $p = Net::Async::Ping->new( tcp => { service_check => 1, }, );
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
This software is copyright (c) 2018 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Async::Ping, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::Ping
CPAN shell
perl -MCPAN -e shell install Net::Async::Ping
For more information on module installation, please visit the detailed CPAN module installation guide.