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

Avoid hardcoding socket family, type and protocol #359

Merged
merged 1 commit into from Nov 4, 2018

Conversation

iv-m
Copy link
Contributor

@iv-m iv-m commented Nov 2, 2018

SOCK_DGRAM and SOCK_STREAM are system-specific constants,
so we should use the constants from socket module instead
of having their value right in the code.

Closes: #358

SOCK_DGRAM and SOCK_STREAM are system-specific constants,
so we should use the constants from socket module instead
of having their value right in the code.

Closes: gabrielfalcao#358
Signed-off-by: Ivan A. Melnikov <iv@altlinux.org>
@gabrielfalcao gabrielfalcao merged commit 914a302 into gabrielfalcao:master Nov 4, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants