Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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. :)

Replies are listed 'Best First'.
Re: Answer: Net::Ping -- other output formats?
by tye (Sage) 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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2018-10-21 19:39 GMT
Find Nodes?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...

    Results (119 votes). Check out past polls.