Commit e0a5450
committed
Enhance ping command with full statistics, DNS resolution, and error handling
- Add hostname/IP validation and DNS resolution
- Implement packet statistics tracking (sent/received/lost)
- Calculate round-trip time statistics (min/max/avg)
- Support additional flags: -w (timeout), -l (buffer size), -i (interval)
- Add comprehensive error handling for unreachable hosts
- Improve cross-platform support for Windows and Unix systems
- Display detailed help with examples
- Parse time values from ping output for custom statistics
- Show formatted statistics when native command doesn't provide them1 parent bb6ad41 commit e0a5450
1 file changed
+316
-63
lines changed
0 commit comments