Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplifyadress #308

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bastien-roucaries
Copy link

This is small step for improving address resolution

Orthogonal to IPV6 but needed for IPV6

Please review and apply

bastien-roucaries and others added 5 commits April 4, 2020 14:33
INET_ADDRSTRLEN is portable and allow to be robust against special crafted adress

signed-off: Bastien Roucariès <[email protected]>
getaddrinfo is the correct API for resolving IP and checking correctness

Use it, instead of manual parsing
Less code and less copy/paste thus less errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants