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

std-docs: listen on ipv6 #19904

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theoparis
Copy link

This should allow zig std to listen on ipv6 addresses. However it seems like zig doesn't follow the standard here and does not automatically listen on v4 too. It should only listen on only ipv6 if IPV6_V6ONLY is set.
See https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/basedefs/netinet_in.h.html and https://learn.microsoft.com/en-us/windows/win32/winsock/ipproto-ipv6-socket-options?redirectedfrom=MSDN

@theoparis theoparis closed this May 12, 2024
@rofrol
Copy link
Contributor

rofrol commented May 12, 2024

Why did you close it?

@theoparis theoparis reopened this May 17, 2024
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.

None yet

2 participants