A custom implementation of the ping utility written in C using raw sockets and ICMP Echo Requests. It measures round-trip time (RTT) to a host, tracks packet loss, and displays detailed latency statistics โ all in real-time.
- Sends ICMP Echo Request packets using raw sockets
- Receives and parses ICMP Echo Replies
- Displays round-trip time (RTT), TTL, and packet statistics
- Graceful exit on
Ctrl+Cwith a detailed report - Accurate min/avg/max/mdev RTT calculations
- DNS resolution for target hostnames
- Linux or Unix-based OS
gcccompiler- Root privileges (required for raw sockets)
gcc ping.c -o ping
#run with sudo as it is used for raw packets#
make sure to give feedback
thank you for visiting!!!!
orz orz orz