-
Compile with:
- gcc -Wall ping.c -o ping -pthread
- or: make ping
-
Usage:
- ./ping
- ./ping localhost
- ./ping www.google.com
- ./ping 8.8.8.8
-
If having permission issue:
- try running as the root user
-
On MacOS, try:
- sudo ./ping
-
Notifications
You must be signed in to change notification settings - Fork 0
yiransii/Ping
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A multi-threaded C program that sends ICMP msg to destination via hostname or IP every 1 second, and prints stats(packet size, rtt, loss, etc.) upon receiving packets.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published