Que pasa?
Take a look inside the module. It doesn't time how long it takes to get a response.
It times how long it takes to:
It does this every time you call the ping method; despite that the method is chosen when you call new().
including setting up and tearing down the sent and received packets and unpacking and validating IPs et la kitchen sink.
It's like including the building of the stadium, and the opening & closing ceremonies, in the timing of the 100m sprint.
In reply to Re: Net::Ping timing not correct
by BrowserUk
in thread Net::Ping timing not correct
by gepebril69
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |