zig
zig copied to clipboard
std-docs: listen on ipv6
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
Why did you close it?
The zig team and community are both a pain in the ass to deal with.
Context: https://x.com/TheoParis04/status/1819643633358016676