Rob Landley
|
34a025cc0e
Don't remove the atexit() and then call it manually right before exiting.
|
2 years ago |
Rob Landley
|
bc1dde1835
Switch a getuid() check to geteuid()
|
2 years ago |
anatasluo
|
896fa846b1
ping: print ttl
|
4 years ago |
Rob Landley
|
ef30ea278b
Fix bugs reported by anatasluo: min/range/max were out of order,
|
4 years ago |
Elliott Hughes
|
a57721d146
bind/connect cleanup.
|
5 years ago |
Rob Landley
|
3703383148
Use xrecvwait() in ping, and move signal handler setup to start of ping loop.
|
5 years ago |
Rob Landley
|
22927b0b9a
Move xsendto() to lib/net.c.
|
5 years ago |
Rob Landley
|
503e636229
Convert more GLOBALS argument vars to the new single letter code style.
|
5 years ago |
Rob Landley
|
07a3b91920
Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo
|
5 years ago |
Elliott Hughes
|
74f22a7d5c
Some more --help consistency.
|
5 years ago |
Rob Landley
|
489a74ee60
Fix ping -w and -W, fix ping -c with no reply (kept sending while waiting),
|
6 years ago |
Rob Landley
|
66d1776fb8
Fix division by zero errors and double summary in ping.
|
6 years ago |
Rob Landley
|
5605a0ff2a
I tend to put extra parentheses around & because its precedence being slightly
|
6 years ago |
Elliott Hughes
|
442f7a0c90
ping: support ping6 as a synonym for `ping -6`.
|
6 years ago |
Elliott Hughes
|
36772a1926
ping: add -m, switch to xsetsockopt.
|
6 years ago |
Rob Landley
|
871c5d740a
Promote ping to toys/net
|
6 years ago |