Skip to content

AF_INET and AF_INET6 should not be exclusive to Win32::NetworkManagement::IpHelper #845

@Jake-Shadle

Description

@Jake-Shadle

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.

Metadata

Metadata

Assignees

Labels

namespacesFeedback on namespace names or organization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions