You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the ping manpage the parameter used for timeout should be -W. Currently -w is used, which sets the deadline option on linux. The deadline option overrides the packet count option (-n) (in some scenarios) which results in more ping requests than expected.
man ping
-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.
-W timeout
Time to wait for a response, in seconds. The option affects only timeout in absence of any responses, otherwise ping waits for two RTTs.
According to the ping manpage the parameter used for timeout should be
-W
. Currently-w
is used, which sets the deadline option on linux. The deadline option overrides the packet count option (-n
) (in some scenarios) which results in more ping requests than expected.man ping
node-ping/lib/builder/linux.js
Line 58 in 694b5fd
Comparison between
-w
and-W
(have a look at the "packets transmitted" count):The text was updated successfully, but these errors were encountered: