Jump to content
  • Advertisement
Sign in to follow this  
iamspecial

ping -w

This topic is 3775 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
'man ping' says:
-w deadline
Specify a timeout, in seconds, before ping exits regardless of how many packets have been sent or received. In this case ping does not stop after count packet are sent, it waits either for deadline expire or until count probes are answered or for some error notification from network.

Share this post


Link to post
Share on other sites
You can type ping -? to see the list of arguments and what they mean. -w is the timeout value in milliseconds, that's how long it'll wait for a reply before it gives up.

EDIT: I'm so slow :-D

Share this post


Link to post
Share on other sites
ok
i have another question
if we ping the router address and fails to get the reply in a LAN
does it means the router is not functioning

i mean suppose a router x connected between A and B . if we ping x from C and get no reply does it means the router x is not functioning
here A , B , C are three computers on LAN

thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!