Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Answer: Is there anything better than Net::Ping ? (need to calculate timeout)

( #21115=categorized answer: print w/ replies, xml ) Need Help??

Q&A > network programming > Is there anything better than Net::Ping ? (need to calculate timeout) contributed by ybiC

Not completely clear on what you're asking, but here goes:

You may be able to do this with Net::Ping by establishing a positive response from remote host, then reducing timeout until no response (similar to internal operation of traceroute/tracert).

    cheers,     ybiC

Comment on Answer: Is there anything better than Net::Ping ? (need to calculate timeout)
RE: Answer: Is there anything better than Net::Ping ? (need to calculate timeout)
by lhoward (Vicar) on Jul 05, 2000 at 17:30 UTC
    Or by taking the current time before and after the successful ping and subtracting them.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-12-25 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (162 votes), past polls