Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

getnameinfo not allowed in ft_ping #33

Open
JonasDBB opened this issue Sep 1, 2022 · 0 comments
Open

getnameinfo not allowed in ft_ping #33

JonasDBB opened this issue Sep 1, 2022 · 0 comments
Assignees
Labels
Advanced Issue is regarding the Advanced curriculum Subject Issue is in the subject

Comments

@JonasDBB
Copy link

JonasDBB commented Sep 1, 2022

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...).

@W2Wizard W2Wizard added Advanced Issue is regarding the Advanced curriculum Subject Issue is in the subject labels Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Advanced Issue is regarding the Advanced curriculum Subject Issue is in the subject
Projects
None yet
Development

No branches or pull requests

2 participants