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

Comments

Projects
None yet
2 participants
@Flamaros

Flamaros commented Dec 13, 2014

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 s-ludwig closed this in 865a6d0 Jan 10, 2016

@s-ludwig

This comment has been minimized.

Show comment
Hide comment
@s-ludwig

s-ludwig Jan 10, 2016

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.

Member

s-ludwig commented Jan 10, 2016

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