Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Sep 26, 2024

  • Add some logging.
  • Run the test on desktop to make sure it works there too.

- Add some logging.
- Run the test on desktop to make sure it works there too.
@sbc100 sbc100 requested review from brendandahl and kripken and removed request for kripken September 26, 2024 22:21
hints.ai_family = AF_INET6;
hints.ai_socktype = SOCK_STREAM;
err = getaddrinfo("www.mozilla.org", "90", &hints, &servinfo);
err = getaddrinfo("www.google.com", "90", &hints, &servinfo);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the address here since www.mozilla.org doesn't have an ipv6 address.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh... that is surprising. But I confirmed and it seems to be the case...

hints.ai_family = AF_INET6;
hints.ai_socktype = SOCK_STREAM;
err = getaddrinfo("www.mozilla.org", "90", &hints, &servinfo);
err = getaddrinfo("www.google.com", "90", &hints, &servinfo);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh... that is surprising. But I confirmed and it seems to be the case...

@sbc100 sbc100 merged commit 2b0980d into emscripten-core:main Sep 26, 2024
24 of 28 checks passed
@sbc100 sbc100 deleted the test_getaddrinfo branch September 26, 2024 23:19
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