codam-coding-college / 42-typos

Ticketing repo to track and report issues for subjects, evaluation sheets, ... For now this repo only focuses on Codam's cursus.
3 stars 0 forks source link

getnameinfo not allowed in ft_ping #33

Open JonasDBB opened 2 years ago

JonasDBB commented 2 years ago

Project Name ft_ping

What is the issue page 3, the allowed functions do not include getnameinfo, which is needed to get the host name of the ip address you are contacting.

Expectation getnameinfo in the list of allowed functions.

Additional context Try ping www.google.com on a linux system, which is required by the subject, the output will be in terms of 64 bytes from ams17s10-in-f14.1e100.net (142.250.179.142), the ams17s10-in-f14.1e100.net part is gotten through use of getnameinfo. This is not required to make the rest of the ping work, just for more informative output, just like the real ping :) also this function does not circumvent other parts of the project (as far as I am aware...).