Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by Falkkin (Chaplain)
on Apr 19, 2001 at 00:14 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found