Skip to content

Latest commit

 

History

History
100 lines (90 loc) · 4.55 KB

README.md

File metadata and controls

100 lines (90 loc) · 4.55 KB

42

ft_ping

Development repository for the 42cursus ft_ping project @ 42 Heilbronn

GitHub code size in bytes GitHub top language GitHub top language GitHub last commit


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


Usage

$ make
$ ./ft_ping google.com

Implemented Arguments

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