NAME
Net::Async::Ping::TCP
VERSION
version 0.002000
DESCRIPTION
This is the TCP part of Net::Async::Ping. See that documentation for full details.
Return value
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.
Additional options
service_check
, which is off by default, will cause ping to fail if the host refuses connection to the selected port (7 by default.)
my $p = Net::Async::Ping->new(
tcp => {
service_check => 1,
},
);
NAME
Net::Async::Ping::TCP
AUTHOR
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 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.