receive of icmp work, needs statistics and missing settings

This commit is contained in:
2025-04-30 18:20:59 +02:00
parent 0021a51f61
commit b4afb26076
5 changed files with 54 additions and 28 deletions

View File

@ -6,7 +6,7 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/24 00:03:56 by tomoron #+# #+# */
/* Updated: 2025/04/29 18:39:49 by tomoron ### ########.fr */
/* Updated: 2025/04/30 16:48:45 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -54,6 +54,7 @@ int main(int argc, char **argv)
settings = parse_args(argc, argv);
settings.socket = init_socket(argv[0]);
settings.id = get_id();
settings.name = argv[0];
if(settings.stop || settings.err || settings.socket == -1)
{
free_hosts(settings.hosts);