Skip to content

0x4r35/ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ C Ping Utility

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.


๐Ÿ“ฆ Features

  • 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+C with a detailed report
  • Accurate min/avg/max/mdev RTT calculations
  • DNS resolution for target hostnames

๐Ÿ› ๏ธ Requirements

  • Linux or Unix-based OS
  • gcc compiler
  • Root privileges (required for raw sockets)

โš™๏ธ Compilation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages