
- Messages
- 2,130
Trivia question: max value for -w in ping command? I don't mean the max wait a ping can experience. I just mean the maximum value after -w on the command line that will not give an error. If they use a 32 bit integer then it's pretty big. But if it's only 16 bit maybe we're limited to 64k?
ping 127.0.0.1 -n 2 -w 50000 > nul
--------------------------^^^^
edit: I haven't found an answer on bing so I'm just curious if anyone knows.
edit2: for the purpose of this trivia let's limit it to W8 command line .. not Linux or OS/2 or whatever.
ping 127.0.0.1 -n 2 -w 50000 > nul
--------------------------^^^^
edit: I haven't found an answer on bing so I'm just curious if anyone knows.

edit2: for the purpose of this trivia let's limit it to W8 command line .. not Linux or OS/2 or whatever.