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

Missing aliases of AF_INET and AF_INET6? #925

Closed
Flamaros opened this issue Dec 13, 2014 · 1 comment
Closed

Missing aliases of AF_INET and AF_INET6? #925

Flamaros opened this issue Dec 13, 2014 · 1 comment

Comments

@Flamaros
Copy link

On struct NetworkAddress the family property is exposed as an ushort. I think it would be better if it was at least an alias or an enum, because for the moment the user need import himself std.c.windows.winsock to access it.

@s-ludwig
Copy link
Member

The goal is to gradually convert the code to use the data types from std.socket. I started here by accepting AddressFamily instead of just ushort, which is also publicly imported.

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

No branches or pull requests

2 participants