Development repository for the 42cursus ft_ping project @ 42 Heilbronn
Summary: This project is about recoding the ping command.
Ping is the name of a command that allows to test the accessibility of another machine through the IP network. The command measures also the time taken to receive a response, called round-trip time..
Est. Time | Skills | Allowed Functions | Difficulty |
49 hours |
|
9450 XP |
$ make
$ ./ft_ping google.com
short | long option | description |
---|---|---|
-c | --count=NUMBER | stop after sending NUMBER packets |
-i | --interval=NUMBER | wait NUMBER seconds between |
- sending each packet | ||
-n | --numeric | do not resolve host addresses |
-T | --ttl=N | specify N as time-to-live |
-v | --verbose | verbose output |
-w | --timeout=N | stop after N seconds |
-f | --flood | flood ping |
-l | --preload=NUMBER | send NUMBER packets as fast as possible |
- before falling into normal mode of behavior | ||
-p | --pattern=PATTERN | fill ICMP packet with given pattern |
-q | --quiet | quiet output |
-s | --size=NUMBER | send NUMBER data octets |
-? | --help | give this help list |
-U | --usage | give a short usage message |
-V | --version | print program version |