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

improve handling of dns resolution and ipv6 address when bound to an ipv4 socket #1

Open
bmwill opened this issue Sep 8, 2022 · 1 comment

Comments

@bmwill
Copy link

bmwill commented Sep 8, 2022

A udp socket that is bound to an ipv4 address cannot trivially communicate with an ipv6 address. Despite this we should probably make a better effort when bound to an ipv4 address by:

  • looking at all addresses from the dns resolution process and find a suitable address (instead of always grabbing the first)
  • attempting to convert an ipv6 address to an ipv4 mapped address when possible.
@Itznur
Copy link

Itznur commented Apr 19, 2023

Well impressive

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

No branches or pull requests

2 participants