Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Net::Ping -- other output formats?

by Falkkin (Chaplain)
on Apr 19, 2001 at 00:14 UTC ( #73642=note: print w/ replies, xml ) Need Help??


in reply to Net::Ping -- other output formats?

Short answer: for now, no.

Long answer: Eventually Net::Ping will be extended in some way (either by parsing results of Net::Ping::External, or perhaps through a new module, Net::Ping::HiRes, to allow for exactly the functionality you want. Look for this functionality in a couple of months... I'm working on it. :)


Comment on Re: Net::Ping -- other output formats?
Replies are listed 'Best First'.
Re: Answer: Net::Ping -- other output formats?
by tye (Cardinal) on Apr 19, 2001 at 00:21 UTC

    Can't you just use Time::HiRes and calculate how long it takes for the ping() method call to take? I realize you'll get a bit more overhead in the calculation than if the module did it for you, but it won't really add up to that much, will it?

    I guess hostname-to-IP lookup could be a problem so you might want to do that "by hand" before calling ping()?

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://73642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2015-07-28 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls