078701117d
add: docker
2025-09-11 14:23:07 +02:00
ca02562a96
misc: refactor
2025-04-10 18:33:43 +02:00
vauden
0811342010
Add: more commentary & clean code
2024-11-19 19:22:38 +01:00
vauden
0058189d72
Add: Comments
2024-11-19 18:57:33 +01:00
vauden
6cd5b0618d
Add: error manager
...
Added function to print errors corresponding to the packet type and code values
2024-11-19 18:51:04 +01:00
vauden
26d9f40030
Added bonus and refactor again
...
Added the following flags :
-c to make a NUMBER of pings
-f to add flood mode
-i to set an interval of NUMBER seconds between pings
-l to send a NUMBER of pings as fast as possible then swapping to normal mode
-q to add quiet mode
Refactored main.c :
Made flags.c for avoiding the main() function becoming a masterclass and make the file more readable
Moved some function from main.c to utils.c
Made some change to mimic the behavior of the ping binary of inetutils2.0
2024-11-16 02:23:41 +01:00
vauden
eb125bde1a
Fixed loopback being catched
2024-11-08 20:09:21 +01:00
21b6df6779
Merge branch 'master' of github.com:Namonay/ft_ping
2024-11-08 16:15:45 +01:00
cb3b707e53
Add Makefile
2024-11-08 16:11:54 +01:00
vauden
00fcdacf31
Fixed issue when 0 packets are sent
2024-11-06 00:38:46 +01:00
vauden
f45a755633
Major refactor
2024-09-25 02:28:32 +02:00
vauden
abbcf06dcd
added signal handling
2024-09-16 20:49:53 +02:00
9e2016eff5
print at end of program
2024-09-16 20:45:09 +02:00
9c661d16b6
Formatting for better readability
2024-09-16 17:53:45 +00:00
vauden
35c0263e1b
Major refactor
2024-09-16 19:47:54 +02:00
37039d9725
debug
2024-09-16 17:33:53 +02:00
1d9dcd3fdd
missing casts
2024-09-16 17:25:13 +02:00
079104af91
refactor
2024-09-16 17:20:33 +02:00
9712b4e67a
debug
2024-09-14 03:12:05 +02:00
995a4acdf7
ditched libc icmphdr for a struct in ft_ping
2024-09-14 03:08:40 +02:00
71be209ee6
socket is now RAW, ft_ping now check the received packet
2024-09-12 22:51:47 +02:00
c32e36c7e1
initial commit
2024-09-12 03:30:13 +02:00