For some reason, both the AF_INET and AF_INET6 constants are not part of Win32::Networking::Winsock like all of the other address family constants, but are rather exclusively part of the Win32::NetworkManagment::IpHelper module. This means one must (in Rust) enable that module when creating basic TCP/UDP sockets (the overwhelming use case), which is fairly ridiculous given the size of that module.
I propose the constants should either be moved to WinSock, or at the very least available in both locations.